\(\int \cos ^3(c+d x) (a+b \tan (c+d x))^3 \, dx\) [541]
Optimal result
Integrand size = 21, antiderivative size = 70 \[
\int \cos ^3(c+d x) (a+b \tan (c+d x))^3 \, dx=-\frac {2 \left (a^2+b^2\right ) \cos (c+d x) (b-a \tan (c+d x))}{3 d}-\frac {\cos ^3(c+d x) (b-a \tan (c+d x)) (a+b \tan (c+d x))^2}{3 d}
\]
[Out]
-2/3*(a^2+b^2)*cos(d*x+c)*(b-a*tan(d*x+c))/d-1/3*cos(d*x+c)^3*(b-a*tan(d*x+c))*(a+b*tan(d*x+c))^2/d
Rubi [A] (verified)
Time = 0.09 (sec) , antiderivative size = 70, normalized size of antiderivative = 1.00, number of
steps used = 3, number of rules used = 3, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.143, Rules used = {3593, 737, 651}
\[
\int \cos ^3(c+d x) (a+b \tan (c+d x))^3 \, dx=-\frac {2 \left (a^2+b^2\right ) \cos (c+d x) (b-a \tan (c+d x))}{3 d}-\frac {\cos ^3(c+d x) (b-a \tan (c+d x)) (a+b \tan (c+d x))^2}{3 d}
\]
[In]
Int[Cos[c + d*x]^3*(a + b*Tan[c + d*x])^3,x]
[Out]
(-2*(a^2 + b^2)*Cos[c + d*x]*(b - a*Tan[c + d*x]))/(3*d) - (Cos[c + d*x]^3*(b - a*Tan[c + d*x])*(a + b*Tan[c +
d*x])^2)/(3*d)
Rule 651
Int[((d_) + (e_.)*(x_))/((a_) + (c_.)*(x_)^2)^(3/2), x_Symbol] :> Simp[((-a)*e + c*d*x)/(a*c*Sqrt[a + c*x^2]),
x] /; FreeQ[{a, c, d, e}, x]
Rule 737
Int[((d_) + (e_.)*(x_))^(m_)*((a_) + (c_.)*(x_)^2)^(p_), x_Symbol] :> Simp[(d + e*x)^(m - 1)*(a*e - c*d*x)*((a
+ c*x^2)^(p + 1)/(2*a*c*(p + 1))), x] + Dist[(2*p + 3)*((c*d^2 + a*e^2)/(2*a*c*(p + 1))), Int[(d + e*x)^(m -
2)*(a + c*x^2)^(p + 1), x], x] /; FreeQ[{a, c, d, e}, x] && NeQ[c*d^2 + a*e^2, 0] && EqQ[m + 2*p + 2, 0] && Lt
Q[p, -1]
Rule 3593
Int[((d_.)*sec[(e_.) + (f_.)*(x_)])^(m_.)*((a_) + (b_.)*tan[(e_.) + (f_.)*(x_)])^(n_), x_Symbol] :> Dist[d^(2*
IntPart[m/2])*((d*Sec[e + f*x])^(2*FracPart[m/2])/(b*f*(Sec[e + f*x]^2)^FracPart[m/2])), Subst[Int[(a + x)^n*(
1 + x^2/b^2)^(m/2 - 1), x], x, b*Tan[e + f*x]], x] /; FreeQ[{a, b, d, e, f, m, n}, x] && NeQ[a^2 + b^2, 0] &&
!IntegerQ[m/2]
Rubi steps \begin{align*}
\text {integral}& = \frac {\left (\cos (c+d x) \sqrt {\sec ^2(c+d x)}\right ) \text {Subst}\left (\int \frac {(a+x)^3}{\left (1+\frac {x^2}{b^2}\right )^{5/2}} \, dx,x,b \tan (c+d x)\right )}{b d} \\ & = -\frac {\cos ^3(c+d x) (b-a \tan (c+d x)) (a+b \tan (c+d x))^2}{3 d}+\frac {\left (2 \left (a^2+b^2\right ) \cos (c+d x) \sqrt {\sec ^2(c+d x)}\right ) \text {Subst}\left (\int \frac {a+x}{\left (1+\frac {x^2}{b^2}\right )^{3/2}} \, dx,x,b \tan (c+d x)\right )}{3 b d} \\ & = -\frac {2 \left (a^2+b^2\right ) \cos (c+d x) (b-a \tan (c+d x))}{3 d}-\frac {\cos ^3(c+d x) (b-a \tan (c+d x)) (a+b \tan (c+d x))^2}{3 d} \\
\end{align*}
Mathematica [A] (verified)
Time = 0.78 (sec) , antiderivative size = 81, normalized size of antiderivative = 1.16
\[
\int \cos ^3(c+d x) (a+b \tan (c+d x))^3 \, dx=\frac {-9 b \left (a^2+b^2\right ) \cos (c+d x)+\left (-3 a^2 b+b^3\right ) \cos (3 (c+d x))+2 a \left (5 a^2+3 b^2+\left (a^2-3 b^2\right ) \cos (2 (c+d x))\right ) \sin (c+d x)}{12 d}
\]
[In]
Integrate[Cos[c + d*x]^3*(a + b*Tan[c + d*x])^3,x]
[Out]
(-9*b*(a^2 + b^2)*Cos[c + d*x] + (-3*a^2*b + b^3)*Cos[3*(c + d*x)] + 2*a*(5*a^2 + 3*b^2 + (a^2 - 3*b^2)*Cos[2*
(c + d*x)])*Sin[c + d*x])/(12*d)
Maple [A] (verified)
Time = 10.37 (sec) , antiderivative size = 75, normalized size of antiderivative = 1.07
| | |
method | result | size |
| | |
derivativedivides |
\(\frac {-\frac {b^{3} \left (2+\sin ^{2}\left (d x +c \right )\right ) \cos \left (d x +c \right )}{3}+a \,b^{2} \left (\sin ^{3}\left (d x +c \right )\right )-a^{2} b \left (\cos ^{3}\left (d x +c \right )\right )+\frac {a^{3} \left (2+\cos ^{2}\left (d x +c \right )\right ) \sin \left (d x +c \right )}{3}}{d}\) |
\(75\) |
default |
\(\frac {-\frac {b^{3} \left (2+\sin ^{2}\left (d x +c \right )\right ) \cos \left (d x +c \right )}{3}+a \,b^{2} \left (\sin ^{3}\left (d x +c \right )\right )-a^{2} b \left (\cos ^{3}\left (d x +c \right )\right )+\frac {a^{3} \left (2+\cos ^{2}\left (d x +c \right )\right ) \sin \left (d x +c \right )}{3}}{d}\) |
\(75\) |
risch |
\(-\frac {3 b \cos \left (d x +c \right ) a^{2}}{4 d}-\frac {3 b^{3} \cos \left (d x +c \right )}{4 d}+\frac {3 a^{3} \sin \left (d x +c \right )}{4 d}+\frac {3 a \sin \left (d x +c \right ) b^{2}}{4 d}-\frac {b \cos \left (3 d x +3 c \right ) a^{2}}{4 d}+\frac {b^{3} \cos \left (3 d x +3 c \right )}{12 d}+\frac {a^{3} \sin \left (3 d x +3 c \right )}{12 d}-\frac {a \sin \left (3 d x +3 c \right ) b^{2}}{4 d}\) |
\(130\) |
| | |
|
|
|
[In]
int(cos(d*x+c)^3*(a+b*tan(d*x+c))^3,x,method=_RETURNVERBOSE)
[Out]
1/d*(-1/3*b^3*(2+sin(d*x+c)^2)*cos(d*x+c)+a*b^2*sin(d*x+c)^3-a^2*b*cos(d*x+c)^3+1/3*a^3*(2+cos(d*x+c)^2)*sin(d
*x+c))
Fricas [A] (verification not implemented)
none
Time = 0.25 (sec) , antiderivative size = 77, normalized size of antiderivative = 1.10
\[
\int \cos ^3(c+d x) (a+b \tan (c+d x))^3 \, dx=-\frac {3 \, b^{3} \cos \left (d x + c\right ) + {\left (3 \, a^{2} b - b^{3}\right )} \cos \left (d x + c\right )^{3} - {\left (2 \, a^{3} + 3 \, a b^{2} + {\left (a^{3} - 3 \, a b^{2}\right )} \cos \left (d x + c\right )^{2}\right )} \sin \left (d x + c\right )}{3 \, d}
\]
[In]
integrate(cos(d*x+c)^3*(a+b*tan(d*x+c))^3,x, algorithm="fricas")
[Out]
-1/3*(3*b^3*cos(d*x + c) + (3*a^2*b - b^3)*cos(d*x + c)^3 - (2*a^3 + 3*a*b^2 + (a^3 - 3*a*b^2)*cos(d*x + c)^2)
*sin(d*x + c))/d
Sympy [F]
\[
\int \cos ^3(c+d x) (a+b \tan (c+d x))^3 \, dx=\int \left (a + b \tan {\left (c + d x \right )}\right )^{3} \cos ^{3}{\left (c + d x \right )}\, dx
\]
[In]
integrate(cos(d*x+c)**3*(a+b*tan(d*x+c))**3,x)
[Out]
Integral((a + b*tan(c + d*x))**3*cos(c + d*x)**3, x)
Maxima [A] (verification not implemented)
none
Time = 0.28 (sec) , antiderivative size = 77, normalized size of antiderivative = 1.10
\[
\int \cos ^3(c+d x) (a+b \tan (c+d x))^3 \, dx=-\frac {3 \, a^{2} b \cos \left (d x + c\right )^{3} - 3 \, a b^{2} \sin \left (d x + c\right )^{3} + {\left (\sin \left (d x + c\right )^{3} - 3 \, \sin \left (d x + c\right )\right )} a^{3} - {\left (\cos \left (d x + c\right )^{3} - 3 \, \cos \left (d x + c\right )\right )} b^{3}}{3 \, d}
\]
[In]
integrate(cos(d*x+c)^3*(a+b*tan(d*x+c))^3,x, algorithm="maxima")
[Out]
-1/3*(3*a^2*b*cos(d*x + c)^3 - 3*a*b^2*sin(d*x + c)^3 + (sin(d*x + c)^3 - 3*sin(d*x + c))*a^3 - (cos(d*x + c)^
3 - 3*cos(d*x + c))*b^3)/d
Giac [B] (verification not implemented)
Leaf count of result is larger than twice the leaf count of optimal. 24430 vs. \(2 (68) = 136\).
Time = 142.57 (sec) , antiderivative size = 24430, normalized size of antiderivative = 349.00
\[
\int \cos ^3(c+d x) (a+b \tan (c+d x))^3 \, dx=\text {Too large to display}
\]
[In]
integrate(cos(d*x+c)^3*(a+b*tan(d*x+c))^3,x, algorithm="giac")
[Out]
1/768*(72*pi*a^2*b*sgn(tan(1/2*d*x)^2*tan(1/2*c)^2 + 2*tan(1/2*d*x)^2*tan(1/2*c) + tan(1/2*d*x)^2 - tan(1/2*c)
^2 + 2*tan(1/2*c) - 1)*sgn(tan(1/2*d*x)^2*tan(1/2*c)^2 + 2*tan(1/2*d*x)*tan(1/2*c)^2 - tan(1/2*d*x)^2 + tan(1/
2*c)^2 + 2*tan(1/2*d*x) - 1)*tan(1/2*d*x)^6*tan(1/2*c)^6 - 105*pi*b^3*sgn(tan(1/2*d*x)^2*tan(1/2*c)^2 + 2*tan(
1/2*d*x)^2*tan(1/2*c) + tan(1/2*d*x)^2 - tan(1/2*c)^2 + 2*tan(1/2*c) - 1)*sgn(tan(1/2*d*x)^2*tan(1/2*c)^2 + 2*
tan(1/2*d*x)*tan(1/2*c)^2 - tan(1/2*d*x)^2 + tan(1/2*c)^2 + 2*tan(1/2*d*x) - 1)*tan(1/2*d*x)^6*tan(1/2*c)^6 +
72*pi*a^2*b*sgn(tan(1/2*d*x)^2*tan(1/2*c)^2 - 2*tan(1/2*d*x)^2*tan(1/2*c) + tan(1/2*d*x)^2 - tan(1/2*c)^2 - 2*
tan(1/2*c) - 1)*sgn(tan(1/2*d*x)^2*tan(1/2*c)^2 - 2*tan(1/2*d*x)*tan(1/2*c)^2 - tan(1/2*d*x)^2 + tan(1/2*c)^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/2*c)^2 - tan(1/2*d*x)^2 + tan(1/2*c)^2 - 2*tan(1/2*d*x) - 1)*tan(1/2*d*x)^6*tan(1/
2*c)^4 + 216*pi*a^2*b*sgn(tan(1/2*d*x)^2*tan(1/2*c)^2 + 2*tan(1/2*d*x)^2*tan(1/2*c) + tan(1/2*d*x)^2 - tan(1/2
*c)^2 + 2*tan(1/2*c) - 1)*sgn(tan(1/2*d*x)^2*tan(1/2*c)^2 + 2*tan(1/2*d*x)*tan(1/2*c)^2 - tan(1/2*d*x)^2 + tan
(1/2*c)^2 + 2*tan(1/2*d*x) - 1)*tan(1/2*d*x)^4*tan(1/2*c)^6 - 315*pi*b^3*sgn(tan(1/2*d*x)^2*tan(1/2*c)^2 + 2*t
an(1/2*d*x)^2*tan(1/2*c) + tan(1/2*d*x)^2 - tan(1/2*c)^2 + 2*tan(1/2*c) - 1)*sgn(tan(1/2*d*x)^2*tan(1/2*c)^2 +
2*tan(1/2*d*x)*tan(1/2*c)^2 - tan(1/2*d*x)^2 + tan(1/2*c)^2 + 2*tan(1/2*d*x) - 1)*tan(1/2*d*x)^4*tan(1/2*c)^6
+ 216*pi*a^2*b*sgn(tan(1/2*d*x)^2*tan(1/2*c)^2 - 2*tan(1/2*d*x)^2*tan(1/2*c) + tan(1/2*d*x)^2 - tan(1/2*c)^2
- 2*tan(1/2*c) - 1)*sgn(tan(1/2*d*x)^2*tan(1/2*c)^2 - 2*tan(1/2*d*x)*tan(1/2*c)^2 - tan(1/2*d*x)^2 + tan(1/2*c
)^2 - 2*tan(1/2*d*x) - 1)*tan(1/2*d*x)^4*tan(1/2*c)^6 - 315*pi*b^3*sgn(tan(1/2*d*x)^2*tan(1/2*c)^2 - 2*tan(1/2
*d*x)^2*tan(1/2*c) + tan(1/2*d*x)^2 - tan(1/2*c)^2 - 2*tan(1/2*c) - 1)*sgn(tan(1/2*d*x)^2*tan(1/2*c)^2 - 2*tan
(1/2*d*x)*tan(1/2*c)^2 - tan(1/2*d*x)^2 + tan(1/2*c)^2 - 2*tan(1/2*d*x) - 1)*tan(1/2*d*x)^4*tan(1/2*c)^6 + 144
*pi*a^2*b*tan(1/2*d*x)^6*tan(1/2*c)^6 - 210*pi*b^3*tan(1/2*d*x)^6*tan(1/2*c)^6 - 144*a^2*b*arctan((tan(1/2*d*x
)*tan(1/2*c) + tan(1/2*d*x) - tan(1/2*c) + 1)/(tan(1/2*d*x)*tan(1/2*c) - tan(1/2*d*x) + tan(1/2*c) + 1))*tan(1
/2*d*x)^6*tan(1/2*c)^6 + 210*b^3*arctan((tan(1/2*d*x)*tan(1/2*c) + tan(1/2*d*x) - tan(1/2*c) + 1)/(tan(1/2*d*x
)*tan(1/2*c) - tan(1/2*d*x) + tan(1/2*c) + 1))*tan(1/2*d*x)^6*tan(1/2*c)^6 - 144*a^2*b*arctan((tan(1/2*d*x)*ta
n(1/2*c) - tan(1/2*d*x) + tan(1/2*c) + 1)/(tan(1/2*d*x)*tan(1/2*c) + tan(1/2*d*x) - tan(1/2*c) + 1))*tan(1/2*d
*x)^6*tan(1/2*c)^6 + 210*b^3*arctan((tan(1/2*d*x)*tan(1/2*c) - tan(1/2*d*x) + tan(1/2*c) + 1)/(tan(1/2*d*x)*ta
n(1/2*c) + tan(1/2*d*x) - tan(1/2*c) + 1))*tan(1/2*d*x)^6*tan(1/2*c)^6 + 144*a^2*b*arctan((tan(1/2*d*x)*tan(1/
2*c) + tan(1/2*d*x) + tan(1/2*c) - 1)/(tan(1/2*d*x)*tan(1/2*c) - tan(1/2*d*x) - tan(1/2*c) - 1))*tan(1/2*d*x)^
6*tan(1/2*c)^6 - 210*b^3*arctan((tan(1/2*d*x)*tan(1/2*c) + tan(1/2*d*x) + tan(1/2*c) - 1)/(tan(1/2*d*x)*tan(1/
2*c) - tan(1/2*d*x) - tan(1/2*c) - 1))*tan(1/2*d*x)^6*tan(1/2*c)^6 + 144*a^2*b*arctan((tan(1/2*d*x)*tan(1/2*c)
- tan(1/2*d*x) - tan(1/2*c) - 1)/(tan(1/2*d*x)*tan(1/2*c) + tan(1/2*d*x) + tan(1/2*c) - 1))*tan(1/2*d*x)^6*ta
n(1/2*c)^6 - 210*b^3*arctan((tan(1/2*d*x)*tan(1/2*c) - tan(1/2*d*x) - tan(1/2*c) - 1)/(tan(1/2*d*x)*tan(1/2*c)
+ tan(1/2*d*x) + tan(1/2*c) - 1))*tan(1/2*d*x)^6*tan(1/2*c)^6 - 216*pi*a^2*b*sgn(tan(1/2*d*x)^2*tan(1/2*c)^2
+ 2*tan(1/2*d*x)*tan(1/2*c)^2 - tan(1/2*d*x)^2 + tan(1/2*c)^2 + 2*tan(1/2*d*x) - 1)*tan(1/2*d*x)^6*tan(1/2*c)^
4 + 315*pi*b^3*sgn(tan(1/2*d*x)^2*tan(1/2*c)^2 + 2*tan(1/2*d*x)*tan(1/2*c)^2 - tan(1/2*d*x)^2 + tan(1/2*c)^2 +
2*tan(1/2*d*x) - 1)*tan(1/2*d*x)^6*tan(1/2*c)^4 + 216*pi*a^2*b*sgn(tan(1/2*d*x)^2*tan(1/2*c)^2 - 2*tan(1/2*d*
x)*tan(1/2*c)^2 - tan(1/2*d*x)^2 + tan(1/2*c)^2 - 2*tan(1/2*d*x) - 1)*tan(1/2*d*x)^6*tan(1/2*c)^4 - 315*pi*b^3
*sgn(tan(1/2*d*x)^2*tan(1/2*c)^2 - 2*tan(1/2*d*x)*tan(1/2*c)^2 - tan(1/2*d*x)^2 + tan(1/2*c)^2 - 2*tan(1/2*d*x
) - 1)*tan(1/2*d*x)^6*tan(1/2*c)^4 - 432*pi*a^2*b*sgn(tan(1/2*d*x)^2*tan(1/2*c)^2 - tan(1/2*d*x)^2 - 4*tan(1/2
*d*x)*tan(1/2*c) - tan(1/2*c)^2 + 1)*tan(1/2*d*x)^6*tan(1/2*c)^4 + 630*pi*b^3*sgn(tan(1/2*d*x)^2*tan(1/2*c)^2
- tan(1/2*d*x)^2 - 4*tan(1/2*d*x)*tan(1/2*c) - tan(1/2*c)^2 + 1)*tan(1/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an(1/2*
d*x)^2*tan(1/2*c)^2 + 2*tan(1/2*d*x)*tan(1/2*c)^2 - tan(1/2*d*x)^2 + tan(1/2*c)^2 + 2*tan(1/2*d*x) - 1)*tan(1/
2*d*x)^4*tan(1/2*c)^4 - 945*pi*b^3*sgn(tan(1/2*d*x)^2*tan(1/2*c)^2 + 2*tan(1/2*d*x)^2*tan(1/2*c) + tan(1/2*d*x
)^2 - tan(1/2*c)^2 + 2*tan(1/2*c) - 1)*sgn(tan(1/2*d*x)^2*tan(1/2*c)^2 + 2*tan(1/2*d*x)*tan(1/2*c)^2 - tan(1/2
*d*x)^2 + tan(1/2*c)^2 + 2*tan(1/2*d*x) - 1)*tan(1/2*d*x)^4*tan(1/2*c)^4 + 648*pi*a^2*b*sgn(tan(1/2*d*x)^2*tan
(1/2*c)^2 - 2*tan(1/2*d*x)^2*tan(1/2*c) + tan(1/2*d*x)^2 - tan(1/2*c)^2 - 2*tan(1/2*c) - 1)*sgn(tan(1/2*d*x)^2
*tan(1/2*c)^2 - 2*tan(1/2*d*x)*tan(1/2*c)^2 - tan(1/2*d*x)^2 + tan(1/2*c)^2 - 2*tan(1/2*d*x) - 1)*tan(1/2*d*x)
^4*tan(1/2*c)^4 - 945*pi*b^3*sgn(tan(1/2*d*x)^2*tan(1/2*c)^2 - 2*tan(1/2*d*x)^2*tan(1/2*c) + tan(1/2*d*x)^2 -
tan(1/2*c)^2 - 2*tan(1/2*c) - 1)*sgn(tan(1/2*d*x)^2*tan(1/2*c)^2 - 2*tan(1/2*d*x)*tan(1/2*c)^2 - tan(1/2*d*x)^
2 + tan(1/2*c)^2 - 2*tan(1/2*d*x) - 1)*tan(1/2*d*x)^4*tan(1/2*c)^4 + 432*pi*a^2*b*tan(1/2*d*x)^6*tan(1/2*c)^4
- 630*pi*b^3*tan(1/2*d*x)^6*tan(1/2*c)^4 - 432*a^2*b*arctan((tan(1/2*d*x)*tan(1/2*c) + tan(1/2*d*x) - tan(1/2*
c) + 1)/(tan(1/2*d*x)*tan(1/2*c) - tan(1/2*d*x) + tan(1/2*c) + 1))*tan(1/2*d*x)^6*tan(1/2*c)^4 + 630*b^3*arcta
n((tan(1/2*d*x)*tan(1/2*c) + tan(1/2*d*x) - tan(1/2*c) + 1)/(tan(1/2*d*x)*tan(1/2*c) - tan(1/2*d*x) + tan(1/2*
c) + 1))*tan(1/2*d*x)^6*tan(1/2*c)^4 - 432*a^2*b*arctan((tan(1/2*d*x)*tan(1/2*c) - tan(1/2*d*x) + tan(1/2*c) +
1)/(tan(1/2*d*x)*tan(1/2*c) + tan(1/2*d*x) - tan(1/2*c) + 1))*tan(1/2*d*x)^6*tan(1/2*c)^4 + 630*b^3*arctan((t
an(1/2*d*x)*tan(1/2*c) - tan(1/2*d*x) + tan(1/2*c) + 1)/(tan(1/2*d*x)*tan(1/2*c) + tan(1/2*d*x) - tan(1/2*c) +
1))*tan(1/2*d*x)^6*tan(1/2*c)^4 + 432*a^2*b*arctan((tan(1/2*d*x)*tan(1/2*c) + tan(1/2*d*x) + tan(1/2*c) - 1)/
(tan(1/2*d*x)*tan(1/2*c) - tan(1/2*d*x) - tan(1/2*c) - 1))*tan(1/2*d*x)^6*tan(1/2*c)^4 - 630*b^3*arctan((tan(1
/2*d*x)*tan(1/2*c) + tan(1/2*d*x) + tan(1/2*c) - 1)/(tan(1/2*d*x)*tan(1/2*c) - tan(1/2*d*x) - tan(1/2*c) - 1))
*tan(1/2*d*x)^6*tan(1/2*c)^4 + 432*a^2*b*arctan((tan(1/2*d*x)*tan(1/2*c) - tan(1/2*d*x) - tan(1/2*c) - 1)/(tan
(1/2*d*x)*tan(1/2*c) + tan(1/2*d*x) + tan(1/2*c) - 1))*tan(1/2*d*x)^6*tan(1/2*c)^4 - 630*b^3*arctan((tan(1/2*d
*x)*tan(1/2*c) - tan(1/2*d*x) - tan(1/2*c) - 1)/(tan(1/2*d*x)*tan(1/2*c) + tan(1/2*d*x) + tan(1/2*c) - 1))*tan
(1/2*d*x)^6*tan(1/2*c)^4 - 1536*a^3*tan(1/2*d*x)^6*tan(1/2*c)^5 + 216*pi*a^2*b*sgn(tan(1/2*d*x)^2*tan(1/2*c)^2
+ 2*tan(1/2*d*x)^2*tan(1/2*c) + tan(1/2*d*x)^2 - tan(1/2*c)^2 + 2*tan(1/2*c) - 1)*sgn(tan(1/2*d*x)^2*tan(1/2*
c)^2 + 2*tan(1/2*d*x)*tan(1/2*c)^2 - tan(1/2*d*x)^2 + tan(1/2*c)^2 + 2*tan(1/2*d*x) - 1)*tan(1/2*d*x)^2*tan(1/
2*c)^6 - 315*pi*b^3*sgn(tan(1/2*d*x)^2*tan(1/2*c)^2 + 2*tan(1/2*d*x)^2*tan(1/2*c) + tan(1/2*d*x)^2 - tan(1/2*c
)^2 + 2*tan(1/2*c) - 1)*sgn(tan(1/2*d*x)^2*tan(1/2*c)^2 + 2*tan(1/2*d*x)*tan(1/2*c)^2 - tan(1/2*d*x)^2 + tan(1
/2*c)^2 + 2*tan(1/2*d*x) - 1)*tan(1/2*d*x)^2*tan(1/2*c)^6 + 216*pi*a^2*b*sgn(tan(1/2*d*x)^2*tan(1/2*c)^2 - 2*t
an(1/2*d*x)^2*tan(1/2*c) + tan(1/2*d*x)^2 - tan(1/2*c)^2 - 2*tan(1/2*c) - 1)*sgn(tan(1/2*d*x)^2*tan(1/2*c)^2 -
2*tan(1/2*d*x)*tan(1/2*c)^2 - tan(1/2*d*x)^2 + tan(1/2*c)^2 - 2*tan(1/2*d*x) - 1)*tan(1/2*d*x)^2*tan(1/2*c)^6
- 315*pi*b^3*sgn(tan(1/2*d*x)^2*tan(1/2*c)^2 - 2*tan(1/2*d*x)^2*tan(1/2*c) + tan(1/2*d*x)^2 - tan(1/2*c)^2 -
2*tan(1/2*c) - 1)*sgn(tan(1/2*d*x)^2*tan(1/2*c)^2 - 2*tan(1/2*d*x)*tan(1/2*c)^2 - tan(1/2*d*x)^2 + tan(1/2*c)^
2 - 2*tan(1/2*d*x) - 1)*tan(1/2*d*x)^2*tan(1/2*c)^6 + 432*pi*a^2*b*tan(1/2*d*x)^4*tan(1/2*c)^6 - 630*pi*b^3*ta
n(1/2*d*x)^4*tan(1/2*c)^6 - 432*a^2*b*arctan((tan(1/2*d*x)*tan(1/2*c) + tan(1/2*d*x) - tan(1/2*c) + 1)/(tan(1/
2*d*x)*tan(1/2*c) - tan(1/2*d*x) + tan(1/2*c) + 1))*tan(1/2*d*x)^4*tan(1/2*c)^6 + 630*b^3*arctan((tan(1/2*d*x)
*tan(1/2*c) + tan(1/2*d*x) - tan(1/2*c) + 1)/(tan(1/2*d*x)*tan(1/2*c) - tan(1/2*d*x) + tan(1/2*c) + 1))*tan(1/
2*d*x)^4*tan(1/2*c)^6 - 432*a^2*b*arctan((tan(1/2*d*x)*tan(1/2*c) - tan(1/2*d*x) + tan(1/2*c) + 1)/(tan(1/2*d*
x)*tan(1/2*c) + tan(1/2*d*x) - tan(1/2*c) + 1))*tan(1/2*d*x)^4*tan(1/2*c)^6 + 630*b^3*arctan((tan(1/2*d*x)*tan
(1/2*c) - tan(1/2*d*x) + tan(1/2*c) + 1)/(tan(1/2*d*x)*tan(1/2*c) + tan(1/2*d*x) - tan(1/2*c) + 1))*tan(1/2*d*
x)^4*tan(1/2*c)^6 + 432*a^2*b*arctan((tan(1/2*d*x)*tan(1/2*c) + tan(1/2*d*x) + tan(1/2*c) - 1)/(tan(1/2*d*x)*t
an(1/2*c) - tan(1/2*d*x) - tan(1/2*c) - 1))*tan(1/2*d*x)^4*tan(1/2*c)^6 - 630*b^3*arctan((tan(1/2*d*x)*tan(1/2
*c) + tan(1/2*d*x) + tan(1/2*c) - 1)/(tan(1/2*d*x)*tan(1/2*c) - tan(1/2*d*x) - tan(1/2*c) - 1))*tan(1/2*d*x)^4
*tan(1/2*c)^6 + 432*a^2*b*arctan((tan(1/2*d*x)*tan(1/2*c) - tan(1/2*d*x) - tan(1/2*c) - 1)/(tan(1/2*d*x)*tan(1
/2*c) + tan(1/2*d*x) + tan(1/2*c) - 1))*tan(1/2*d*x)^4*tan(1/2*c)^6 - 630*b^3*arctan((tan(1/2*d*x)*tan(1/2*c)
- tan(1/2*d*x) - tan(1/2*c) - 1)/(tan(1/2*d*x)*tan(1/2*c) + tan(1/2*d*x) + tan(1/2*c) - 1))*tan(1/2*d*x)^4*tan
(1/2*c)^6 - 1536*a^3*tan(1/2*d*x)^5*tan(1/2*c)^6 - 216*pi*a^2*b*sgn(tan(1/2*d*x)^2*tan(1/2*c)^2 + 2*tan(1/2*d*
x)*tan(1/2*c)^2 - tan(1/2*d*x)^2 + tan(1/2*c)^2 + 2*tan(1/2*d*x) - 1)*tan(1/2*d*x)^6*tan(1/2*c)^2 + 315*pi*b^3
*sgn(tan(1/2*d*x)^2*tan(1/2*c)^2 + 2*tan(1/2*d*x)*tan(1/2*c)^2 - tan(1/2*d*x)^2 + tan(1/2*c)^2 + 2*tan(1/2*d*x
) - 1)*tan(1/2*d*x)^6*tan(1/2*c)^2 + 216*pi*a^2*b*sgn(tan(1/2*d*x)^2*tan(1/2*c)^2 - 2*tan(1/2*d*x)*tan(1/2*c)^
2 - tan(1/2*d*x)^2 + tan(1/2*c)^2 - 2*tan(1/2*d*x) - 1)*tan(1/2*d*x)^6*tan(1/2*c)^2 - 315*pi*b^3*sgn(tan(1/2*d
*x)^2*tan(1/2*c)^2 - 2*tan(1/2*d*x)*tan(1/2*c)^2 - tan(1/2*d*x)^2 + tan(1/2*c)^2 - 2*tan(1/2*d*x) - 1)*tan(1/2
*d*x)^6*tan(1/2*c)^2 - 432*pi*a^2*b*sgn(tan(1/2*d*x)^2*tan(1/2*c)^2 - tan(1/2*d*x)^2 - 4*tan(1/2*d*x)*tan(1/2*
c) - tan(1/2*c)^2 + 1)*tan(1/2*d*x)^6*tan(1/2*c)^2 + 630*pi*b^3*sgn(tan(1/2*d*x)^2*tan(1/2*c)^2 - tan(1/2*d*x)
^2 - 4*tan(1/2*d*x)*tan(1/2*c) - tan(1/2*c)^2 + 1)*tan(1/2*d*x)^6*tan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^3*sgn(tan(1/2*d*x)^2*tan(1/2*c)^2 + 2*tan(1/2*d*x)^2*tan(1/2*c) + tan(1/2*d*x)^2 - tan(1/2*c)^2 + 2*
tan(1/2*c) - 1)*sgn(tan(1/2*d*x)^2*tan(1/2*c)^2 + 2*tan(1/2*d*x)*tan(1/2*c)^2 - tan(1/2*d*x)^2 + tan(1/2*c)^2
+ 2*tan(1/2*d*x) - 1)*tan(1/2*d*x)^4*tan(1/2*c)^2 + 648*pi*a^2*b*sgn(tan(1/2*d*x)^2*tan(1/2*c)^2 - 2*tan(1/2*d
*x)^2*tan(1/2*c) + tan(1/2*d*x)^2 - tan(1/2*c)^2 - 2*tan(1/2*c) - 1)*sgn(tan(1/2*d*x)^2*tan(1/2*c)^2 - 2*tan(1
/2*d*x)*tan(1/2*c)^2 - tan(1/2*d*x)^2 + tan(1/2*c)^2 - 2*tan(1/2*d*x) - 1)*tan(1/2*d*x)^4*tan(1/2*c)^2 - 945*p
i*b^3*sgn(tan(1/2*d*x)^2*tan(1/2*c)^2 - 2*tan(1/2*d*x)^2*tan(1/2*c) + tan(1/2*d*x)^2 - tan(1/2*c)^2 - 2*tan(1/
2*c) - 1)*sgn(tan(1/2*d*x)^2*tan(1/2*c)^2 - 2*tan(1/2*d*x)*tan(1/2*c)^2 - tan(1/2*d*x)^2 + tan(1/2*c)^2 - 2*ta
n(1/2*d*x) - 1)*tan(1/2*d*x)^4*tan(1/2*c)^2 + 432*pi*a^2*b*tan(1/2*d*x)^6*tan(1/2*c)^2 - 630*pi*b^3*tan(1/2*d*
x)^6*tan(1/2*c)^2 - 432*a^2*b*arctan((tan(1/2*d*x)*tan(1/2*c) + tan(1/2*d*x) - tan(1/2*c) + 1)/(tan(1/2*d*x)*t
an(1/2*c) - tan(1/2*d*x) + tan(1/2*c) + 1))*tan(1/2*d*x)^6*tan(1/2*c)^2 + 630*b^3*arctan((tan(1/2*d*x)*tan(1/2
*c) + tan(1/2*d*x) - tan(1/2*c) + 1)/(tan(1/2*d*x)*tan(1/2*c) - tan(1/2*d*x) + tan(1/2*c) + 1))*tan(1/2*d*x)^6
*tan(1/2*c)^2 - 432*a^2*b*arctan((tan(1/2*d*x)*tan(1/2*c) - tan(1/2*d*x) + tan(1/2*c) + 1)/(tan(1/2*d*x)*tan(1
/2*c) + tan(1/2*d*x) - tan(1/2*c) + 1))*tan(1/2*d*x)^6*tan(1/2*c)^2 + 630*b^3*arctan((tan(1/2*d*x)*tan(1/2*c)
- tan(1/2*d*x) + tan(1/2*c) + 1)/(tan(1/2*d*x)*tan(1/2*c) + tan(1/2*d*x) - tan(1/2*c) + 1))*tan(1/2*d*x)^6*tan
(1/2*c)^2 + 432*a^2*b*arctan((tan(1/2*d*x)*tan(1/2*c) + tan(1/2*d*x) + tan(1/2*c) - 1)/(tan(1/2*d*x)*tan(1/2*c
) - tan(1/2*d*x) - tan(1/2*c) - 1))*tan(1/2*d*x)^6*tan(1/2*c)^2 - 630*b^3*arctan((tan(1/2*d*x)*tan(1/2*c) + ta
n(1/2*d*x) + tan(1/2*c) - 1)/(tan(1/2*d*x)*tan(1/2*c) - tan(1/2*d*x) - tan(1/2*c) - 1))*tan(1/2*d*x)^6*tan(1/2
*c)^2 + 432*a^2*b*arctan((tan(1/2*d*x)*tan(1/2*c) - tan(1/2*d*x) - tan(1/2*c) - 1)/(tan(1/2*d*x)*tan(1/2*c) +
tan(1/2*d*x) + tan(1/2*c) - 1))*tan(1/2*d*x)^6*tan(1/2*c)^2 - 630*b^3*arctan((tan(1/2*d*x)*tan(1/2*c) - tan(1/
2*d*x) - tan(1/2*c) - 1)/(tan(1/2*d*x)*tan(1/2*c) + tan(1/2*d*x) + tan(1/2*c) - 1))*tan(1/2*d*x)^6*tan(1/2*c)^
2 - 1024*a^3*tan(1/2*d*x)^6*tan(1/2*c)^3 - 6144*a*b^2*tan(1/2*d*x)^6*tan(1/2*c)^3 + 648*pi*a^2*b*sgn(tan(1/2*d
*x)^2*tan(1/2*c)^2 + 2*tan(1/2*d*x)^2*tan(1/2*c) + tan(1/2*d*x)^2 - tan(1/2*c)^2 + 2*tan(1/2*c) - 1)*sgn(tan(1
/2*d*x)^2*tan(1/2*c)^2 + 2*tan(1/2*d*x)*tan(1/2*c)^2 - tan(1/2*d*x)^2 + tan(1/2*c)^2 + 2*tan(1/2*d*x) - 1)*tan
(1/2*d*x)^2*tan(1/2*c)^4 - 945*pi*b^3*sgn(tan(1/2*d*x)^2*tan(1/2*c)^2 + 2*tan(1/2*d*x)^2*tan(1/2*c) + tan(1/2*
d*x)^2 - tan(1/2*c)^2 + 2*tan(1/2*c) - 1)*sgn(tan(1/2*d*x)^2*tan(1/2*c)^2 + 2*tan(1/2*d*x)*tan(1/2*c)^2 - tan(
1/2*d*x)^2 + tan(1/2*c)^2 + 2*tan(1/2*d*x) - 1)*tan(1/2*d*x)^2*tan(1/2*c)^4 + 648*pi*a^2*b*sgn(tan(1/2*d*x)^2*
tan(1/2*c)^2 - 2*tan(1/2*d*x)^2*tan(1/2*c) + tan(1/2*d*x)^2 - tan(1/2*c)^2 - 2*tan(1/2*c) - 1)*sgn(tan(1/2*d*x
)^2*tan(1/2*c)^2 - 2*tan(1/2*d*x)*tan(1/2*c)^2 - tan(1/2*d*x)^2 + tan(1/2*c)^2 - 2*tan(1/2*d*x) - 1)*tan(1/2*d
*x)^2*tan(1/2*c)^4 - 945*pi*b^3*sgn(tan(1/2*d*x)^2*tan(1/2*c)^2 - 2*tan(1/2*d*x)^2*tan(1/2*c) + tan(1/2*d*x)^2
- tan(1/2*c)^2 - 2*tan(1/2*c) - 1)*sgn(tan(1/2*d*x)^2*tan(1/2*c)^2 - 2*tan(1/2*d*x)*tan(1/2*c)^2 - tan(1/2*d*
x)^2 + tan(1/2*c)^2 - 2*tan(1/2*d*x) - 1)*tan(1/2*d*x)^2*tan(1/2*c)^4 + 1296*pi*a^2*b*tan(1/2*d*x)^4*tan(1/2*c
)^4 - 1890*pi*b^3*tan(1/2*d*x)^4*tan(1/2*c)^4 - 1296*a^2*b*arctan((tan(1/2*d*x)*tan(1/2*c) + tan(1/2*d*x) - ta
n(1/2*c) + 1)/(tan(1/2*d*x)*tan(1/2*c) - tan(1/2*d*x) + tan(1/2*c) + 1))*tan(1/2*d*x)^4*tan(1/2*c)^4 + 1890*b^
3*arctan((tan(1/2*d*x)*tan(1/2*c) + tan(1/2*d*x) - tan(1/2*c) + 1)/(tan(1/2*d*x)*tan(1/2*c) - tan(1/2*d*x) + t
an(1/2*c) + 1))*tan(1/2*d*x)^4*tan(1/2*c)^4 - 1296*a^2*b*arctan((tan(1/2*d*x)*tan(1/2*c) - tan(1/2*d*x) + tan(
1/2*c) + 1)/(tan(1/2*d*x)*tan(1/2*c) + tan(1/2*d*x) - tan(1/2*c) + 1))*tan(1/2*d*x)^4*tan(1/2*c)^4 + 1890*b^3*
arctan((tan(1/2*d*x)*tan(1/2*c) - tan(1/2*d*x) + tan(1/2*c) + 1)/(tan(1/2*d*x)*tan(1/2*c) + tan(1/2*d*x) - tan
(1/2*c) + 1))*tan(1/2*d*x)^4*tan(1/2*c)^4 + 1296*a^2*b*arctan((tan(1/2*d*x)*tan(1/2*c) + tan(1/2*d*x) + tan(1/
2*c) - 1)/(tan(1/2*d*x)*tan(1/2*c) - tan(1/2*d*x) - tan(1/2*c) - 1))*tan(1/2*d*x)^4*tan(1/2*c)^4 - 1890*b^3*ar
ctan((tan(1/2*d*x)*tan(1/2*c) + tan(1/2*d*x) + tan(1/2*c) - 1)/(tan(1/2*d*x)*tan(1/2*c) - tan(1/2*d*x) - tan(1
/2*c) - 1))*tan(1/2*d*x)^4*tan(1/2*c)^4 + 1296*a^2*b*arctan((tan(1/2*d*x)*tan(1/2*c) - tan(1/2*d*x) - tan(1/2*
c) - 1)/(tan(1/2*d*x)*tan(1/2*c) + tan(1/2*d*x) + tan(1/2*c) - 1))*tan(1/2*d*x)^4*tan(1/2*c)^4 - 1890*b^3*arct
an((tan(1/2*d*x)*tan(1/2*c) - tan(1/2*d*x) - tan(1/2*c) - 1)/(tan(1/2*d*x)*tan(1/2*c) + tan(1/2*d*x) + tan(1/2
*c) - 1))*tan(1/2*d*x)^4*tan(1/2*c)^4 + 4608*a^3*tan(1/2*d*x)^5*tan(1/2*c)^4 - 18432*a*b^2*tan(1/2*d*x)^5*tan(
1/2*c)^4 + 4608*a^3*tan(1/2*d*x)^4*tan(1/2*c)^5 - 18432*a*b^2*tan(1/2*d*x)^4*tan(1/2*c)^5 + 72*pi*a^2*b*sgn(ta
n(1/2*d*x)^2*tan(1/2*c)^2 + 2*tan(1/2*d*x)^2*tan(1/2*c) + tan(1/2*d*x)^2 - tan(1/2*c)^2 + 2*tan(1/2*c) - 1)*sg
n(tan(1/2*d*x)^2*tan(1/2*c)^2 + 2*tan(1/2*d*x)*tan(1/2*c)^2 - tan(1/2*d*x)^2 + tan(1/2*c)^2 + 2*tan(1/2*d*x) -
1)*tan(1/2*c)^6 - 105*pi*b^3*sgn(tan(1/2*d*x)^2*tan(1/2*c)^2 + 2*tan(1/2*d*x)^2*tan(1/2*c) + tan(1/2*d*x)^2 -
tan(1/2*c)^2 + 2*tan(1/2*c) - 1)*sgn(tan(1/2*d*x)^2*tan(1/2*c)^2 + 2*tan(1/2*d*x)*tan(1/2*c)^2 - tan(1/2*d*x)
^2 + tan(1/2*c)^2 + 2*tan(1/2*d*x) - 1)*tan(1/2*c)^6 + 72*pi*a^2*b*sgn(tan(1/2*d*x)^2*tan(1/2*c)^2 - 2*tan(1/2
*d*x)^2*tan(1/2*c) + tan(1/2*d*x)^2 - tan(1/2*c)^2 - 2*tan(1/2*c) - 1)*sgn(tan(1/2*d*x)^2*tan(1/2*c)^2 - 2*tan
(1/2*d*x)*tan(1/2*c)^2 - tan(1/2*d*x)^2 + tan(1/2*c)^2 - 2*tan(1/2*d*x) - 1)*tan(1/2*c)^6 - 105*pi*b^3*sgn(tan
(1/2*d*x)^2*tan(1/2*c)^2 - 2*tan(1/2*d*x)^2*tan(1/2*c) + tan(1/2*d*x)^2 - tan(1/2*c)^2 - 2*tan(1/2*c) - 1)*sgn
(tan(1/2*d*x)^2*tan(1/2*c)^2 - 2*tan(1/2*d*x)*tan(1/2*c)^2 - tan(1/2*d*x)^2 + tan(1/2*c)^2 - 2*tan(1/2*d*x) -
1)*tan(1/2*c)^6 + 432*pi*a^2*b*tan(1/2*d*x)^2*tan(1/2*c)^6 - 630*pi*b^3*tan(1/2*d*x)^2*tan(1/2*c)^6 - 432*a^2*
b*arctan((tan(1/2*d*x)*tan(1/2*c) + tan(1/2*d*x) - tan(1/2*c) + 1)/(tan(1/2*d*x)*tan(1/2*c) - tan(1/2*d*x) + t
an(1/2*c) + 1))*tan(1/2*d*x)^2*tan(1/2*c)^6 + 630*b^3*arctan((tan(1/2*d*x)*tan(1/2*c) + tan(1/2*d*x) - tan(1/2
*c) + 1)/(tan(1/2*d*x)*tan(1/2*c) - tan(1/2*d*x) + tan(1/2*c) + 1))*tan(1/2*d*x)^2*tan(1/2*c)^6 - 432*a^2*b*ar
ctan((tan(1/2*d*x)*tan(1/2*c) - tan(1/2*d*x) + tan(1/2*c) + 1)/(tan(1/2*d*x)*tan(1/2*c) + tan(1/2*d*x) - tan(1
/2*c) + 1))*tan(1/2*d*x)^2*tan(1/2*c)^6 + 630*b^3*arctan((tan(1/2*d*x)*tan(1/2*c) - tan(1/2*d*x) + tan(1/2*c)
+ 1)/(tan(1/2*d*x)*tan(1/2*c) + tan(1/2*d*x) - tan(1/2*c) + 1))*tan(1/2*d*x)^2*tan(1/2*c)^6 + 432*a^2*b*arctan
((tan(1/2*d*x)*tan(1/2*c) + tan(1/2*d*x) + tan(1/2*c) - 1)/(tan(1/2*d*x)*tan(1/2*c) - tan(1/2*d*x) - tan(1/2*c
) - 1))*tan(1/2*d*x)^2*tan(1/2*c)^6 - 630*b^3*arctan((tan(1/2*d*x)*tan(1/2*c) + tan(1/2*d*x) + tan(1/2*c) - 1)
/(tan(1/2*d*x)*tan(1/2*c) - tan(1/2*d*x) - tan(1/2*c) - 1))*tan(1/2*d*x)^2*tan(1/2*c)^6 + 432*a^2*b*arctan((ta
n(1/2*d*x)*tan(1/2*c) - tan(1/2*d*x) - tan(1/2*c) - 1)/(tan(1/2*d*x)*tan(1/2*c) + tan(1/2*d*x) + tan(1/2*c) -
1))*tan(1/2*d*x)^2*tan(1/2*c)^6 - 630*b^3*arctan((tan(1/2*d*x)*tan(1/2*c) - tan(1/2*d*x) - tan(1/2*c) - 1)/(ta
n(1/2*d*x)*tan(1/2*c) + tan(1/2*d*x) + tan(1/2*c) - 1))*tan(1/2*d*x)^2*tan(1/2*c)^6 - 1024*a^3*tan(1/2*d*x)^3*
tan(1/2*c)^6 - 6144*a*b^2*tan(1/2*d*x)^3*tan(1/2*c)^6 - 72*pi*a^2*b*sgn(tan(1/2*d*x)^2*tan(1/2*c)^2 + 2*tan(1/
2*d*x)*tan(1/2*c)^2 - tan(1/2*d*x)^2 + tan(1/2*c)^2 + 2*tan(1/2*d*x) - 1)*tan(1/2*d*x)^6 + 105*pi*b^3*sgn(tan(
1/2*d*x)^2*tan(1/2*c)^2 + 2*tan(1/2*d*x)*tan(1/2*c)^2 - tan(1/2*d*x)^2 + tan(1/2*c)^2 + 2*tan(1/2*d*x) - 1)*ta
n(1/2*d*x)^6 + 72*pi*a^2*b*sgn(tan(1/2*d*x)^2*tan(1/2*c)^2 - 2*tan(1/2*d*x)*tan(1/2*c)^2 - tan(1/2*d*x)^2 + ta
n(1/2*c)^2 - 2*tan(1/2*d*x) - 1)*tan(1/2*d*x)^6 - 105*pi*b^3*sgn(tan(1/2*d*x)^2*tan(1/2*c)^2 - 2*tan(1/2*d*x)*
tan(1/2*c)^2 - tan(1/2*d*x)^2 + tan(1/2*c)^2 - 2*tan(1/2*d*x) - 1)*tan(1/2*d*x)^6 - 144*pi*a^2*b*sgn(tan(1/2*d
*x)^2*tan(1/2*c)^2 - tan(1/2*d*x)^2 - 4*tan(1/2*d*x)*tan(1/2*c) - tan(1/2*c)^2 + 1)*tan(1/2*d*x)^6 +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 - 18432*a^2*b*tan(1/2*d*x)^5*tan(1/2*c)^3 + 12288*b^3*tan(1/2*d*x)^5*tan(1/2*c)^3 - 648*pi*a^2*b*sgn(tan
(1/2*d*x)^2*tan(1/2*c)^2 + 2*tan(1/2*d*x)*tan(1/2*c)^2 - tan(1/2*d*x)^2 + tan(1/2*c)^2 + 2*tan(1/2*d*x) - 1)*t
an(1/2*d*x)^2*tan(1/2*c)^4 + 945*pi*b^3*sgn(tan(1/2*d*x)^2*tan(1/2*c)^2 + 2*tan(1/2*d*x)*tan(1/2*c)^2 - tan(1/
2*d*x)^2 + tan(1/2*c)^2 + 2*tan(1/2*d*x) - 1)*tan(1/2*d*x)^2*tan(1/2*c)^4 + 648*pi*a^2*b*sgn(tan(1/2*d*x)^2*ta
n(1/2*c)^2 - 2*tan(1/2*d*x)*tan(1/2*c)^2 - tan(1/2*d*x)^2 + tan(1/2*c)^2 - 2*tan(1/2*d*x) - 1)*tan(1/2*d*x)^2*
tan(1/2*c)^4 - 945*pi*b^3*sgn(tan(1/2*d*x)^2*tan(1/2*c)^2 - 2*tan(1/2*d*x)*tan(1/2*c)^2 - tan(1/2*d*x)^2 + tan
(1/2*c)^2 - 2*tan(1/2*d*x) - 1)*tan(1/2*d*x)^2*tan(1/2*c)^4 - 1296*pi*a^2*b*sgn(tan(1/2*d*x)^2*tan(1/2*c)^2 -
tan(1/2*d*x)^2 - 4*tan(1/2*d*x)*tan(1/2*c) - tan(1/2*c)^2 + 1)*tan(1/2*d*x)^2*tan(1/2*c)^4 + 1890*pi*b^3*sgn(t
an(1/2*d*x)^2*tan(1/2*c)^2 - tan(1/2*d*x)^2 - 4*tan(1/2*d*x)*tan(1/2*c) - tan(1/2*c)^2 + 1)*tan(1/2*d*x)^2*tan
(1/2*c)^4 - 43776*a^2*b*tan(1/2*d*x)^4*tan(1/2*c)^4 + 13824*b^3*tan(1/2*d*x)^4*tan(1/2*c)^4 - 18432*a^2*b*tan(
1/2*d*x)^3*tan(1/2*c)^5 +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(1/2*c)^2 - tan(1/2*d*x)^2 + tan(1/2*c)^2 + 2*tan(1/2*d*x) - 1)*tan
(1/2*d*x)^4 - 315*pi*b^3*sgn(tan(1/2*d*x)^2*tan(1/2*c)^2 + 2*tan(1/2*d*x)^2*tan(1/2*c) + tan(1/2*d*x)^2 - tan(
1/2*c)^2 + 2*tan(1/2*c) - 1)*sgn(tan(1/2*d*x)^2*tan(1/2*c)^2 + 2*tan(1/2*d*x)*tan(1/2*c)^2 - tan(1/2*d*x)^2 +
tan(1/2*c)^2 + 2*tan(1/2*d*x) - 1)*tan(1/2*d*x)^4 + 216*pi*a^2*b*sgn(tan(1/2*d*x)^2*tan(1/2*c)^2 - 2*tan(1/2*d
*x)^2*tan(1/2*c) + tan(1/2*d*x)^2 - tan(1/2*c)^2 - 2*tan(1/2*c) - 1)*sgn(tan(1/2*d*x)^2*tan(1/2*c)^2 - 2*tan(1
/2*d*x)*tan(1/2*c)^2 - tan(1/2*d*x)^2 + tan(1/2*c)^2 - 2*tan(1/2*d*x) - 1)*tan(1/2*d*x)^4 - 315*pi*b^3*sgn(tan
(1/2*d*x)^2*tan(1/2*c)^2 - 2*tan(1/2*d*x)^2*tan(1/2*c) + tan(1/2*d*x)^2 - tan(1/2*c)^2 - 2*tan(1/2*c) - 1)*sgn
(tan(1/2*d*x)^2*tan(1/2*c)^2 - 2*tan(1/2*d*x)*tan(1/2*c)^2 - tan(1/2*d*x)^2 + tan(1/2*c)^2 - 2*tan(1/2*d*x) -
1)*tan(1/2*d*x)^4 + 144*pi*a^2*b*tan(1/2*d*x)^6 - 210*pi*b^3*tan(1/2*d*x)^6 - 144*a^2*b*arctan((tan(1/2*d*x)*t
an(1/2*c) + tan(1/2*d*x) - tan(1/2*c) + 1)/(tan(1/2*d*x)*tan(1/2*c) - tan(1/2*d*x) + tan(1/2*c) + 1))*tan(1/2*
d*x)^6 + 210*b^3*arctan((tan(1/2*d*x)*tan(1/2*c) + tan(1/2*d*x) - tan(1/2*c) + 1)/(tan(1/2*d*x)*tan(1/2*c) - t
an(1/2*d*x) + tan(1/2*c) + 1))*tan(1/2*d*x)^6 - 144*a^2*b*arctan((tan(1/2*d*x)*tan(1/2*c) - tan(1/2*d*x) + tan
(1/2*c) + 1)/(tan(1/2*d*x)*tan(1/2*c) + tan(1/2*d*x) - tan(1/2*c) + 1))*tan(1/2*d*x)^6 + 210*b^3*arctan((tan(1
/2*d*x)*tan(1/2*c) - tan(1/2*d*x) + tan(1/2*c) + 1)/(tan(1/2*d*x)*tan(1/2*c) + tan(1/2*d*x) - tan(1/2*c) + 1))
*tan(1/2*d*x)^6 + 144*a^2*b*arctan((tan(1/2*d*x)*tan(1/2*c) + tan(1/2*d*x) + tan(1/2*c) - 1)/(tan(1/2*d*x)*tan
(1/2*c) - tan(1/2*d*x) - tan(1/2*c) - 1))*tan(1/2*d*x)^6 - 210*b^3*arctan((tan(1/2*d*x)*tan(1/2*c) + tan(1/2*d
*x) + tan(1/2*c) - 1)/(tan(1/2*d*x)*tan(1/2*c) - tan(1/2*d*x) - tan(1/2*c) - 1))*tan(1/2*d*x)^6 + 144*a^2*b*ar
ctan((tan(1/2*d*x)*tan(1/2*c) - tan(1/2*d*x) - tan(1/2*c) - 1)/(tan(1/2*d*x)*tan(1/2*c) + tan(1/2*d*x) + tan(1
/2*c) - 1))*tan(1/2*d*x)^6 - 210*b^3*arctan((tan(1/2*d*x)*tan(1/2*c) - tan(1/2*d*x) - tan(1/2*c) - 1)/(tan(1/2
*d*x)*tan(1/2*c) + tan(1/2*d*x) + tan(1/2*c) - 1))*tan(1/2*d*x)^6 - 1536*a^3*tan(1/2*d*x)^6*tan(1/2*c) + 648*p
i*a^2*b*sgn(tan(1/2*d*x)^2*tan(1/2*c)^2 + 2*tan(1/2*d*x)^2*tan(1/2*c) + tan(1/2*d*x)^2 - tan(1/2*c)^2 + 2*tan(
1/2*c) - 1)*sgn(tan(1/2*d*x)^2*tan(1/2*c)^2 + 2*tan(1/2*d*x)*tan(1/2*c)^2 - tan(1/2*d*x)^2 + tan(1/2*c)^2 + 2*
tan(1/2*d*x) - 1)*tan(1/2*d*x)^2*tan(1/2*c)^2 - 945*pi*b^3*sgn(tan(1/2*d*x)^2*tan(1/2*c)^2 + 2*tan(1/2*d*x)^2*
tan(1/2*c) + tan(1/2*d*x)^2 - tan(1/2*c)^2 + 2*tan(1/2*c) - 1)*sgn(tan(1/2*d*x)^2*tan(1/2*c)^2 + 2*tan(1/2*d*x
)*tan(1/2*c)^2 - tan(1/2*d*x)^2 + tan(1/2*c)^2 + 2*tan(1/2*d*x) - 1)*tan(1/2*d*x)^2*tan(1/2*c)^2 + 648*pi*a^2*
b*sgn(tan(1/2*d*x)^2*tan(1/2*c)^2 - 2*tan(1/2*d*x)^2*tan(1/2*c) + tan(1/2*d*x)^2 - tan(1/2*c)^2 - 2*tan(1/2*c)
- 1)*sgn(tan(1/2*d*x)^2*tan(1/2*c)^2 - 2*tan(1/2*d*x)*tan(1/2*c)^2 - tan(1/2*d*x)^2 + tan(1/2*c)^2 - 2*tan(1/
2*d*x) - 1)*tan(1/2*d*x)^2*tan(1/2*c)^2 - 945*pi*b^3*sgn(tan(1/2*d*x)^2*tan(1/2*c)^2 - 2*tan(1/2*d*x)^2*tan(1/
2*c) + tan(1/2*d*x)^2 - tan(1/2*c)^2 - 2*tan(1/2*c) - 1)*sgn(tan(1/2*d*x)^2*tan(1/2*c)^2 - 2*tan(1/2*d*x)*tan(
1/2*c)^2 - tan(1/2*d*x)^2 + tan(1/2*c)^2 - 2*tan(1/2*d*x) - 1)*tan(1/2*d*x)^2*tan(1/2*c)^2 + 1296*pi*a^2*b*tan
(1/2*d*x)^4*tan(1/2*c)^2 - 1890*pi*b^3*tan(1/2*d*x)^4*tan(1/2*c)^2 - 1296*a^2*b*arctan((tan(1/2*d*x)*tan(1/2*c
) + tan(1/2*d*x) - tan(1/2*c) + 1)/(tan(1/2*d*x)*tan(1/2*c) - tan(1/2*d*x) + tan(1/2*c) + 1))*tan(1/2*d*x)^4*t
an(1/2*c)^2 + 1890*b^3*arctan((tan(1/2*d*x)*tan(1/2*c) + tan(1/2*d*x) - tan(1/2*c) + 1)/(tan(1/2*d*x)*tan(1/2*
c) - tan(1/2*d*x) + tan(1/2*c) + 1))*tan(1/2*d*x)^4*tan(1/2*c)^2 - 1296*a^2*b*arctan((tan(1/2*d*x)*tan(1/2*c)
- tan(1/2*d*x) + tan(1/2*c) + 1)/(tan(1/2*d*x)*tan(1/2*c) + tan(1/2*d*x) - tan(1/2*c) + 1))*tan(1/2*d*x)^4*tan
(1/2*c)^2 + 1890*b^3*arctan((tan(1/2*d*x)*tan(1/2*c) - tan(1/2*d*x) + tan(1/2*c) + 1)/(tan(1/2*d*x)*tan(1/2*c)
+ tan(1/2*d*x) - tan(1/2*c) + 1))*tan(1/2*d*x)^4*tan(1/2*c)^2 + 1296*a^2*b*arctan((tan(1/2*d*x)*tan(1/2*c) +
tan(1/2*d*x) + tan(1/2*c) - 1)/(tan(1/2*d*x)*tan(1/2*c) - tan(1/2*d*x) - tan(1/2*c) - 1))*tan(1/2*d*x)^4*tan(1
/2*c)^2 - 1890*b^3*arctan((tan(1/2*d*x)*tan(1/2*c) + tan(1/2*d*x) + tan(1/2*c) - 1)/(tan(1/2*d*x)*tan(1/2*c) -
tan(1/2*d*x) - tan(1/2*c) - 1))*tan(1/2*d*x)^4*tan(1/2*c)^2 + 1296*a^2*b*arctan((tan(1/2*d*x)*tan(1/2*c) - ta
n(1/2*d*x) - tan(1/2*c) - 1)/(tan(1/2*d*x)*tan(1/2*c) + tan(1/2*d*x) + tan(1/2*c) - 1))*tan(1/2*d*x)^4*tan(1/2
*c)^2 - 1890*b^3*arctan((tan(1/2*d*x)*tan(1/2*c) - tan(1/2*d*x) - tan(1/2*c) - 1)/(tan(1/2*d*x)*tan(1/2*c) + t
an(1/2*d*x) + tan(1/2*c) - 1))*tan(1/2*d*x)^4*tan(1/2*c)^2 - 4608*a^3*tan(1/2*d*x)^5*tan(1/2*c)^2 + 18432*a*b^
2*tan(1/2*d*x)^5*tan(1/2*c)^2 - 21504*a^3*tan(1/2*d*x)^4*tan(1/2*c)^3 + 55296*a*b^2*tan(1/2*d*x)^4*tan(1/2*c)^
3 + 216*pi*a^2*b*sgn(tan(1/2*d*x)^2*tan(1/2*c)^2 + 2*tan(1/2*d*x)^2*tan(1/2*c) + tan(1/2*d*x)^2 - tan(1/2*c)^2
+ 2*tan(1/2*c) - 1)*sgn(tan(1/2*d*x)^2*tan(1/2*c)^2 + 2*tan(1/2*d*x)*tan(1/2*c)^2 - tan(1/2*d*x)^2 + tan(1/2*
c)^2 + 2*tan(1/2*d*x) - 1)*tan(1/2*c)^4 - 315*pi*b^3*sgn(tan(1/2*d*x)^2*tan(1/2*c)^2 + 2*tan(1/2*d*x)^2*tan(1/
2*c) + tan(1/2*d*x)^2 - tan(1/2*c)^2 + 2*tan(1/2*c) - 1)*sgn(tan(1/2*d*x)^2*tan(1/2*c)^2 + 2*tan(1/2*d*x)*tan(
1/2*c)^2 - tan(1/2*d*x)^2 + tan(1/2*c)^2 + 2*tan(1/2*d*x) - 1)*tan(1/2*c)^4 + 216*pi*a^2*b*sgn(tan(1/2*d*x)^2*
tan(1/2*c)^2 - 2*tan(1/2*d*x)^2*tan(1/2*c) + tan(1/2*d*x)^2 - tan(1/2*c)^2 - 2*tan(1/2*c) - 1)*sgn(tan(1/2*d*x
)^2*tan(1/2*c)^2 - 2*tan(1/2*d*x)*tan(1/2*c)^2 - tan(1/2*d*x)^2 + tan(1/2*c)^2 - 2*tan(1/2*d*x) - 1)*tan(1/2*c
)^4 - 315*pi*b^3*sgn(tan(1/2*d*x)^2*tan(1/2*c)^2 - 2*tan(1/2*d*x)^2*tan(1/2*c) + tan(1/2*d*x)^2 - tan(1/2*c)^2
- 2*tan(1/2*c) - 1)*sgn(tan(1/2*d*x)^2*tan(1/2*c)^2 - 2*tan(1/2*d*x)*tan(1/2*c)^2 - tan(1/2*d*x)^2 + tan(1/2*
c)^2 - 2*tan(1/2*d*x) - 1)*tan(1/2*c)^4 + 1296*pi*a^2*b*tan(1/2*d*x)^2*tan(1/2*c)^4 - 1890*pi*b^3*tan(1/2*d*x)
^2*tan(1/2*c)^4 - 1296*a^2*b*arctan((tan(1/2*d*x)*tan(1/2*c) + tan(1/2*d*x) - tan(1/2*c) + 1)/(tan(1/2*d*x)*ta
n(1/2*c) - tan(1/2*d*x) + tan(1/2*c) + 1))*tan(1/2*d*x)^2*tan(1/2*c)^4 + 1890*b^3*arctan((tan(1/2*d*x)*tan(1/2
*c) + tan(1/2*d*x) - tan(1/2*c) + 1)/(tan(1/2*d*x)*tan(1/2*c) - tan(1/2*d*x) + tan(1/2*c) + 1))*tan(1/2*d*x)^2
*tan(1/2*c)^4 - 1296*a^2*b*arctan((tan(1/2*d*x)*tan(1/2*c) - tan(1/2*d*x) + tan(1/2*c) + 1)/(tan(1/2*d*x)*tan(
1/2*c) + tan(1/2*d*x) - tan(1/2*c) + 1))*tan(1/2*d*x)^2*tan(1/2*c)^4 + 1890*b^3*arctan((tan(1/2*d*x)*tan(1/2*c
) - tan(1/2*d*x) + tan(1/2*c) + 1)/(tan(1/2*d*x)*tan(1/2*c) + tan(1/2*d*x) - tan(1/2*c) + 1))*tan(1/2*d*x)^2*t
an(1/2*c)^4 + 1296*a^2*b*arctan((tan(1/2*d*x)*tan(1/2*c) + tan(1/2*d*x) + tan(1/2*c) - 1)/(tan(1/2*d*x)*tan(1/
2*c) - tan(1/2*d*x) - tan(1/2*c) - 1))*tan(1/2*d*x)^2*tan(1/2*c)^4 - 1890*b^3*arctan((tan(1/2*d*x)*tan(1/2*c)
+ tan(1/2*d*x) + tan(1/2*c) - 1)/(tan(1/2*d*x)*tan(1/2*c) - tan(1/2*d*x) - tan(1/2*c) - 1))*tan(1/2*d*x)^2*tan
(1/2*c)^4 + 1296*a^2*b*arctan((tan(1/2*d*x)*tan(1/2*c) - tan(1/2*d*x) - tan(1/2*c) - 1)/(tan(1/2*d*x)*tan(1/2*
c) + tan(1/2*d*x) + tan(1/2*c) - 1))*tan(1/2*d*x)^2*tan(1/2*c)^4 - 1890*b^3*arctan((tan(1/2*d*x)*tan(1/2*c) -
tan(1/2*d*x) - tan(1/2*c) - 1)/(tan(1/2*d*x)*tan(1/2*c) + tan(1/2*d*x) + tan(1/2*c) - 1))*tan(1/2*d*x)^2*tan(1
/2*c)^4 - 21504*a^3*tan(1/2*d*x)^3*tan(1/2*c)^4 + 55296*a*b^2*tan(1/2*d*x)^3*tan(1/2*c)^4 - 4608*a^3*tan(1/2*d
*x)^2*tan(1/2*c)^5 + 18432*a*b^2*tan(1/2*d*x)^2*tan(1/2*c)^5 + 144*pi*a^2*b*tan(1/2*c)^6 - 210*pi*b^3*tan(1/2*
c)^6 - 144*a^2*b*arctan((tan(1/2*d*x)*tan(1/2*c) + tan(1/2*d*x) - tan(1/2*c) + 1)/(tan(1/2*d*x)*tan(1/2*c) - t
an(1/2*d*x) + tan(1/2*c) + 1))*tan(1/2*c)^6 + 210*b^3*arctan((tan(1/2*d*x)*tan(1/2*c) + tan(1/2*d*x) - tan(1/2
*c) + 1)/(tan(1/2*d*x)*tan(1/2*c) - tan(1/2*d*x) + tan(1/2*c) + 1))*tan(1/2*c)^6 - 144*a^2*b*arctan((tan(1/2*d
*x)*tan(1/2*c) - tan(1/2*d*x) + tan(1/2*c) + 1)/(tan(1/2*d*x)*tan(1/2*c) + tan(1/2*d*x) - tan(1/2*c) + 1))*tan
(1/2*c)^6 + 210*b^3*arctan((tan(1/2*d*x)*tan(1/2*c) - tan(1/2*d*x) + tan(1/2*c) + 1)/(tan(1/2*d*x)*tan(1/2*c)
+ tan(1/2*d*x) - tan(1/2*c) + 1))*tan(1/2*c)^6 + 144*a^2*b*arctan((tan(1/2*d*x)*tan(1/2*c) + tan(1/2*d*x) + ta
n(1/2*c) - 1)/(tan(1/2*d*x)*tan(1/2*c) - tan(1/2*d*x) - tan(1/2*c) - 1))*tan(1/2*c)^6 - 210*b^3*arctan((tan(1/
2*d*x)*tan(1/2*c) + tan(1/2*d*x) + tan(1/2*c) - 1)/(tan(1/2*d*x)*tan(1/2*c) - tan(1/2*d*x) - tan(1/2*c) - 1))*
tan(1/2*c)^6 + 144*a^2*b*arctan((tan(1/2*d*x)*tan(1/2*c) - tan(1/2*d*x) - tan(1/2*c) - 1)/(tan(1/2*d*x)*tan(1/
2*c) + tan(1/2*d*x) + tan(1/2*c) - 1))*tan(1/2*c)^6 - 210*b^3*arctan((tan(1/2*d*x)*tan(1/2*c) - tan(1/2*d*x) -
tan(1/2*c) - 1)/(tan(1/2*d*x)*tan(1/2*c) + tan(1/2*d*x) + tan(1/2*c) - 1))*tan(1/2*c)^6 - 1536*a^3*tan(1/2*d*
x)*tan(1/2*c)^6 - 216*pi*a^2*b*sgn(tan(1/2*d*x)^2*tan(1/2*c)^2 + 2*tan(1/2*d*x)*tan(1/2*c)^2 - tan(1/2*d*x)^2
+ tan(1/2*c)^2 + 2*tan(1/2*d*x) - 1)*tan(1/2*d*x)^4 + 315*pi*b^3*sgn(tan(1/2*d*x)^2*tan(1/2*c)^2 + 2*tan(1/2*d
*x)*tan(1/2*c)^2 - tan(1/2*d*x)^2 + tan(1/2*c)^2 + 2*tan(1/2*d*x) - 1)*tan(1/2*d*x)^4 + 216*pi*a^2*b*sgn(tan(1
/2*d*x)^2*tan(1/2*c)^2 - 2*tan(1/2*d*x)*tan(1/2*c)^2 - tan(1/2*d*x)^2 + tan(1/2*c)^2 - 2*tan(1/2*d*x) - 1)*tan
(1/2*d*x)^4 - 315*pi*b^3*sgn(tan(1/2*d*x)^2*tan(1/2*c)^2 - 2*tan(1/2*d*x)*tan(1/2*c)^2 - tan(1/2*d*x)^2 + tan(
1/2*c)^2 - 2*tan(1/2*d*x) - 1)*tan(1/2*d*x)^4 - 432*pi*a^2*b*sgn(tan(1/2*d*x)^2*tan(1/2*c)^2 - tan(1/2*d*x)^2
- 4*tan(1/2*d*x)*tan(1/2*c) - tan(1/2*c)^2 + 1)*tan(1/2*d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*tan(1/2*c)^2 + 43776*a^2*b*tan(1
/2*d*x)^4*tan(1/2*c)^2 - 13824*b^3*tan(1/2*d*x)^4*tan(1/2*c)^2 + 86016*a^2*b*tan(1/2*d*x)^3*tan(1/2*c)^3 - 163
84*b^3*tan(1/2*d*x)^3*tan(1/2*c)^3 - 216*pi*a^2*b*sgn(tan(1/2*d*x)^2*tan(1/2*c)^2 + 2*tan(1/2*d*x)*tan(1/2*c)^
2 - tan(1/2*d*x)^2 + tan(1/2*c)^2 + 2*tan(1/2*d*x) - 1)*tan(1/2*c)^4 + 315*pi*b^3*sgn(tan(1/2*d*x)^2*tan(1/2*c
)^2 + 2*tan(1/2*d*x)*tan(1/2*c)^2 - tan(1/2*d*x)^2 + tan(1/2*c)^2 + 2*tan(1/2*d*x) - 1)*tan(1/2*c)^4 + 216*pi*
a^2*b*sgn(tan(1/2*d*x)^2*tan(1/2*c)^2 - 2*tan(1/2*d*x)*tan(1/2*c)^2 - tan(1/2*d*x)^2 + tan(1/2*c)^2 - 2*tan(1/
2*d*x) - 1)*tan(1/2*c)^4 - 315*pi*b^3*sgn(tan(1/2*d*x)^2*tan(1/2*c)^2 - 2*tan(1/2*d*x)*tan(1/2*c)^2 - tan(1/2*
d*x)^2 + tan(1/2*c)^2 - 2*tan(1/2*d*x) - 1)*tan(1/2*c)^4 - 432*pi*a^2*b*sgn(tan(1/2*d*x)^2*tan(1/2*c)^2 - tan(
1/2*d*x)^2 - 4*tan(1/2*d*x)*tan(1/2*c) - tan(1/2*c)^2 + 1)*tan(1/2*c)^4 + 630*pi*b^3*sgn(tan(1/2*d*x)^2*tan(1/
2*c)^2 - tan(1/2*d*x)^2 - 4*tan(1/2*d*x)*tan(1/2*c) - tan(1/2*c)^2 + 1)*tan(1/2*c)^4 + 43776*a^2*b*tan(1/2*d*x
)^2*tan(1/2*c)^4 - 13824*b^3*tan(1/2*d*x)^2*tan(1/2*c)^4 + 9216*a^2*b*tan(1/2*d*x)*tan(1/2*c)^5 + 768*a^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3*tan(1/2*d*x)^4 - 432*a^2*b*arctan((tan(1/2*d*x)*tan(1/2*c) + tan(1/2*d*x) - tan(1/2*c) + 1)/(tan(
1/2*d*x)*tan(1/2*c) - tan(1/2*d*x) + tan(1/2*c) + 1))*tan(1/2*d*x)^4 + 630*b^3*arctan((tan(1/2*d*x)*tan(1/2*c)
+ tan(1/2*d*x) - tan(1/2*c) + 1)/(tan(1/2*d*x)*tan(1/2*c) - tan(1/2*d*x) + tan(1/2*c) + 1))*tan(1/2*d*x)^4 -
432*a^2*b*arctan((tan(1/2*d*x)*tan(1/2*c) - tan(1/2*d*x) + tan(1/2*c) + 1)/(tan(1/2*d*x)*tan(1/2*c) + tan(1/2*
d*x) - tan(1/2*c) + 1))*tan(1/2*d*x)^4 + 630*b^3*arctan((tan(1/2*d*x)*tan(1/2*c) - tan(1/2*d*x) + tan(1/2*c) +
1)/(tan(1/2*d*x)*tan(1/2*c) + tan(1/2*d*x) - tan(1/2*c) + 1))*tan(1/2*d*x)^4 + 432*a^2*b*arctan((tan(1/2*d*x)
*tan(1/2*c) + tan(1/2*d*x) + tan(1/2*c) - 1)/(tan(1/2*d*x)*tan(1/2*c) - tan(1/2*d*x) - tan(1/2*c) - 1))*tan(1/
2*d*x)^4 - 630*b^3*arctan((tan(1/2*d*x)*tan(1/2*c) + tan(1/2*d*x) + tan(1/2*c) - 1)/(tan(1/2*d*x)*tan(1/2*c) -
tan(1/2*d*x) - tan(1/2*c) - 1))*tan(1/2*d*x)^4 + 432*a^2*b*arctan((tan(1/2*d*x)*tan(1/2*c) - tan(1/2*d*x) - t
an(1/2*c) - 1)/(tan(1/2*d*x)*tan(1/2*c) + tan(1/2*d*x) + tan(1/2*c) - 1))*tan(1/2*d*x)^4 - 630*b^3*arctan((tan
(1/2*d*x)*tan(1/2*c) - tan(1/2*d*x) - tan(1/2*c) - 1)/(tan(1/2*d*x)*tan(1/2*c) + tan(1/2*d*x) + tan(1/2*c) - 1
))*tan(1/2*d*x)^4 + 1536*a^3*tan(1/2*d*x)^5 + 4608*a^3*tan(1/2*d*x)^4*tan(1/2*c) - 18432*a*b^2*tan(1/2*d*x)^4*
tan(1/2*c) + 216*pi*a^2*b*sgn(tan(1/2*d*x)^2*tan(1/2*c)^2 + 2*tan(1/2*d*x)^2*tan(1/2*c) + tan(1/2*d*x)^2 - tan
(1/2*c)^2 + 2*tan(1/2*c) - 1)*sgn(tan(1/2*d*x)^2*tan(1/2*c)^2 + 2*tan(1/2*d*x)*tan(1/2*c)^2 - tan(1/2*d*x)^2 +
tan(1/2*c)^2 + 2*tan(1/2*d*x) - 1)*tan(1/2*c)^2 - 315*pi*b^3*sgn(tan(1/2*d*x)^2*tan(1/2*c)^2 + 2*tan(1/2*d*x)
^2*tan(1/2*c) + tan(1/2*d*x)^2 - tan(1/2*c)^2 + 2*tan(1/2*c) - 1)*sgn(tan(1/2*d*x)^2*tan(1/2*c)^2 + 2*tan(1/2*
d*x)*tan(1/2*c)^2 - tan(1/2*d*x)^2 + tan(1/2*c)^2 + 2*tan(1/2*d*x) - 1)*tan(1/2*c)^2 + 216*pi*a^2*b*sgn(tan(1/
2*d*x)^2*tan(1/2*c)^2 - 2*tan(1/2*d*x)^2*tan(1/2*c) + tan(1/2*d*x)^2 - tan(1/2*c)^2 - 2*tan(1/2*c) - 1)*sgn(ta
n(1/2*d*x)^2*tan(1/2*c)^2 - 2*tan(1/2*d*x)*tan(1/2*c)^2 - tan(1/2*d*x)^2 + tan(1/2*c)^2 - 2*tan(1/2*d*x) - 1)*
tan(1/2*c)^2 - 315*pi*b^3*sgn(tan(1/2*d*x)^2*tan(1/2*c)^2 - 2*tan(1/2*d*x)^2*tan(1/2*c) + tan(1/2*d*x)^2 - tan
(1/2*c)^2 - 2*tan(1/2*c) - 1)*sgn(tan(1/2*d*x)^2*tan(1/2*c)^2 - 2*tan(1/2*d*x)*tan(1/2*c)^2 - tan(1/2*d*x)^2 +
tan(1/2*c)^2 - 2*tan(1/2*d*x) - 1)*tan(1/2*c)^2 + 1296*pi*a^2*b*tan(1/2*d*x)^2*tan(1/2*c)^2 - 1890*pi*b^3*tan
(1/2*d*x)^2*tan(1/2*c)^2 - 1296*a^2*b*arctan((tan(1/2*d*x)*tan(1/2*c) + tan(1/2*d*x) - tan(1/2*c) + 1)/(tan(1/
2*d*x)*tan(1/2*c) - tan(1/2*d*x) + tan(1/2*c) + 1))*tan(1/2*d*x)^2*tan(1/2*c)^2 + 1890*b^3*arctan((tan(1/2*d*x
)*tan(1/2*c) + tan(1/2*d*x) - tan(1/2*c) + 1)/(tan(1/2*d*x)*tan(1/2*c) - tan(1/2*d*x) + tan(1/2*c) + 1))*tan(1
/2*d*x)^2*tan(1/2*c)^2 - 1296*a^2*b*arctan((tan(1/2*d*x)*tan(1/2*c) - tan(1/2*d*x) + tan(1/2*c) + 1)/(tan(1/2*
d*x)*tan(1/2*c) + tan(1/2*d*x) - tan(1/2*c) + 1))*tan(1/2*d*x)^2*tan(1/2*c)^2 + 1890*b^3*arctan((tan(1/2*d*x)*
tan(1/2*c) - tan(1/2*d*x) + tan(1/2*c) + 1)/(tan(1/2*d*x)*tan(1/2*c) + tan(1/2*d*x) - tan(1/2*c) + 1))*tan(1/2
*d*x)^2*tan(1/2*c)^2 + 1296*a^2*b*arctan((tan(1/2*d*x)*tan(1/2*c) + tan(1/2*d*x) + tan(1/2*c) - 1)/(tan(1/2*d*
x)*tan(1/2*c) - tan(1/2*d*x) - tan(1/2*c) - 1))*tan(1/2*d*x)^2*tan(1/2*c)^2 - 1890*b^3*arctan((tan(1/2*d*x)*ta
n(1/2*c) + tan(1/2*d*x) + tan(1/2*c) - 1)/(tan(1/2*d*x)*tan(1/2*c) - tan(1/2*d*x) - tan(1/2*c) - 1))*tan(1/2*d
*x)^2*tan(1/2*c)^2 + 1296*a^2*b*arctan((tan(1/2*d*x)*tan(1/2*c) - tan(1/2*d*x) - tan(1/2*c) - 1)/(tan(1/2*d*x)
*tan(1/2*c) + tan(1/2*d*x) + tan(1/2*c) - 1))*tan(1/2*d*x)^2*tan(1/2*c)^2 - 1890*b^3*arctan((tan(1/2*d*x)*tan(
1/2*c) - tan(1/2*d*x) - tan(1/2*c) - 1)/(tan(1/2*d*x)*tan(1/2*c) + tan(1/2*d*x) + tan(1/2*c) - 1))*tan(1/2*d*x
)^2*tan(1/2*c)^2 + 21504*a^3*tan(1/2*d*x)^3*tan(1/2*c)^2 - 55296*a*b^2*tan(1/2*d*x)^3*tan(1/2*c)^2 + 21504*a^3
*tan(1/2*d*x)^2*tan(1/2*c)^3 - 55296*a*b^2*tan(1/2*d*x)^2*tan(1/2*c)^3 + 432*pi*a^2*b*tan(1/2*c)^4 - 630*pi*b^
3*tan(1/2*c)^4 - 432*a^2*b*arctan((tan(1/2*d*x)*tan(1/2*c) + tan(1/2*d*x) - tan(1/2*c) + 1)/(tan(1/2*d*x)*tan(
1/2*c) - tan(1/2*d*x) + tan(1/2*c) + 1))*tan(1/2*c)^4 + 630*b^3*arctan((tan(1/2*d*x)*tan(1/2*c) + tan(1/2*d*x)
- tan(1/2*c) + 1)/(tan(1/2*d*x)*tan(1/2*c) - tan(1/2*d*x) + tan(1/2*c) + 1))*tan(1/2*c)^4 - 432*a^2*b*arctan(
(tan(1/2*d*x)*tan(1/2*c) - tan(1/2*d*x) + tan(1/2*c) + 1)/(tan(1/2*d*x)*tan(1/2*c) + tan(1/2*d*x) - tan(1/2*c)
+ 1))*tan(1/2*c)^4 + 630*b^3*arctan((tan(1/2*d*x)*tan(1/2*c) - tan(1/2*d*x) + tan(1/2*c) + 1)/(tan(1/2*d*x)*t
an(1/2*c) + tan(1/2*d*x) - tan(1/2*c) + 1))*tan(1/2*c)^4 + 432*a^2*b*arctan((tan(1/2*d*x)*tan(1/2*c) + tan(1/2
*d*x) + tan(1/2*c) - 1)/(tan(1/2*d*x)*tan(1/2*c) - tan(1/2*d*x) - tan(1/2*c) - 1))*tan(1/2*c)^4 - 630*b^3*arct
an((tan(1/2*d*x)*tan(1/2*c) + tan(1/2*d*x) + tan(1/2*c) - 1)/(tan(1/2*d*x)*tan(1/2*c) - tan(1/2*d*x) - tan(1/2
*c) - 1))*tan(1/2*c)^4 + 432*a^2*b*arctan((tan(1/2*d*x)*tan(1/2*c) - tan(1/2*d*x) - tan(1/2*c) - 1)/(tan(1/2*d
*x)*tan(1/2*c) + tan(1/2*d*x) + tan(1/2*c) - 1))*tan(1/2*c)^4 - 630*b^3*arctan((tan(1/2*d*x)*tan(1/2*c) - tan(
1/2*d*x) - tan(1/2*c) - 1)/(tan(1/2*d*x)*tan(1/2*c) + tan(1/2*d*x) + tan(1/2*c) - 1))*tan(1/2*c)^4 + 4608*a^3*
tan(1/2*d*x)*tan(1/2*c)^4 - 18432*a*b^2*tan(1/2*d*x)*tan(1/2*c)^4 + 1536*a^3*tan(1/2*c)^5 - 216*pi*a^2*b*sgn(t
an(1/2*d*x)^2*tan(1/2*c)^2 + 2*tan(1/2*d*x)*tan(1/2*c)^2 - tan(1/2*d*x)^2 + tan(1/2*c)^2 + 2*tan(1/2*d*x) - 1)
*tan(1/2*d*x)^2 + 315*pi*b^3*sgn(tan(1/2*d*x)^2*tan(1/2*c)^2 + 2*tan(1/2*d*x)*tan(1/2*c)^2 - tan(1/2*d*x)^2 +
tan(1/2*c)^2 + 2*tan(1/2*d*x) - 1)*tan(1/2*d*x)^2 + 216*pi*a^2*b*sgn(tan(1/2*d*x)^2*tan(1/2*c)^2 - 2*tan(1/2*d
*x)*tan(1/2*c)^2 - tan(1/2*d*x)^2 + tan(1/2*c)^2 - 2*tan(1/2*d*x) - 1)*tan(1/2*d*x)^2 - 315*pi*b^3*sgn(tan(1/2
*d*x)^2*tan(1/2*c)^2 - 2*tan(1/2*d*x)*tan(1/2*c)^2 - tan(1/2*d*x)^2 + tan(1/2*c)^2 - 2*tan(1/2*d*x) - 1)*tan(1
/2*d*x)^2 - 432*pi*a^2*b*sgn(tan(1/2*d*x)^2*tan(1/2*c)^2 - tan(1/2*d*x)^2 - 4*tan(1/2*d*x)*tan(1/2*c) - tan(1/
2*c)^2 + 1)*tan(1/2*d*x)^2 + 630*pi*b^3*sgn(tan(1/2*d*x)^2*tan(1/2*c)^2 - tan(1/2*d*x)^2 - 4*tan(1/2*d*x)*tan(
1/2*c) - tan(1/2*c)^2 + 1)*tan(1/2*d*x)^2 - 2304*a^2*b*tan(1/2*d*x)^4 + 1536*b^3*tan(1/2*d*x)^4 - 18432*a^2*b*
tan(1/2*d*x)^3*tan(1/2*c) + 12288*b^3*tan(1/2*d*x)^3*tan(1/2*c) - 216*pi*a^2*b*sgn(tan(1/2*d*x)^2*tan(1/2*c)^2
+ 2*tan(1/2*d*x)*tan(1/2*c)^2 - tan(1/2*d*x)^2 + tan(1/2*c)^2 + 2*tan(1/2*d*x) - 1)*tan(1/2*c)^2 + 315*pi*b^3
*sgn(tan(1/2*d*x)^2*tan(1/2*c)^2 + 2*tan(1/2*d*x)*tan(1/2*c)^2 - tan(1/2*d*x)^2 + tan(1/2*c)^2 + 2*tan(1/2*d*x
) - 1)*tan(1/2*c)^2 + 216*pi*a^2*b*sgn(tan(1/2*d*x)^2*tan(1/2*c)^2 - 2*tan(1/2*d*x)*tan(1/2*c)^2 - tan(1/2*d*x
)^2 + tan(1/2*c)^2 - 2*tan(1/2*d*x) - 1)*tan(1/2*c)^2 - 315*pi*b^3*sgn(tan(1/2*d*x)^2*tan(1/2*c)^2 - 2*tan(1/2
*d*x)*tan(1/2*c)^2 - tan(1/2*d*x)^2 + tan(1/2*c)^2 - 2*tan(1/2*d*x) - 1)*tan(1/2*c)^2 - 432*pi*a^2*b*sgn(tan(1
/2*d*x)^2*tan(1/2*c)^2 - tan(1/2*d*x)^2 - 4*tan(1/2*d*x)*tan(1/2*c) - tan(1/2*c)^2 + 1)*tan(1/2*c)^2 + 630*pi*
b^3*sgn(tan(1/2*d*x)^2*tan(1/2*c)^2 - tan(1/2*d*x)^2 - 4*tan(1/2*d*x)*tan(1/2*c) - tan(1/2*c)^2 + 1)*tan(1/2*c
)^2 - 43776*a^2*b*tan(1/2*d*x)^2*tan(1/2*c)^2 + 13824*b^3*tan(1/2*d*x)^2*tan(1/2*c)^2 - 18432*a^2*b*tan(1/2*d*
x)*tan(1/2*c)^3 + 12288*b^3*tan(1/2*d*x)*tan(1/2*c)^3 - 2304*a^2*b*tan(1/2*c)^4 + 1536*b^3*tan(1/2*c)^4 + 72*p
i*a^2*b*sgn(tan(1/2*d*x)^2*tan(1/2*c)^2 + 2*tan(1/2*d*x)^2*tan(1/2*c) + tan(1/2*d*x)^2 - tan(1/2*c)^2 + 2*tan(
1/2*c) - 1)*sgn(tan(1/2*d*x)^2*tan(1/2*c)^2 + 2*tan(1/2*d*x)*tan(1/2*c)^2 - tan(1/2*d*x)^2 + tan(1/2*c)^2 + 2*
tan(1/2*d*x) - 1) - 105*pi*b^3*sgn(tan(1/2*d*x)^2*tan(1/2*c)^2 + 2*tan(1/2*d*x)^2*tan(1/2*c) + tan(1/2*d*x)^2
- tan(1/2*c)^2 + 2*tan(1/2*c) - 1)*sgn(tan(1/2*d*x)^2*tan(1/2*c)^2 + 2*tan(1/2*d*x)*tan(1/2*c)^2 - tan(1/2*d*x
)^2 + tan(1/2*c)^2 + 2*tan(1/2*d*x) - 1) + 72*pi*a^2*b*sgn(tan(1/2*d*x)^2*tan(1/2*c)^2 - 2*tan(1/2*d*x)^2*tan(
1/2*c) + tan(1/2*d*x)^2 - tan(1/2*c)^2 - 2*tan(1/2*c) - 1)*sgn(tan(1/2*d*x)^2*tan(1/2*c)^2 - 2*tan(1/2*d*x)*ta
n(1/2*c)^2 - tan(1/2*d*x)^2 + tan(1/2*c)^2 - 2*tan(1/2*d*x) - 1) - 105*pi*b^3*sgn(tan(1/2*d*x)^2*tan(1/2*c)^2
- 2*tan(1/2*d*x)^2*tan(1/2*c) + tan(1/2*d*x)^2 - tan(1/2*c)^2 - 2*tan(1/2*c) - 1)*sgn(tan(1/2*d*x)^2*tan(1/2*c
)^2 - 2*tan(1/2*d*x)*tan(1/2*c)^2 - tan(1/2*d*x)^2 + tan(1/2*c)^2 - 2*tan(1/2*d*x) - 1) + 432*pi*a^2*b*tan(1/2
*d*x)^2 - 630*pi*b^3*tan(1/2*d*x)^2 - 432*a^2*b*arctan((tan(1/2*d*x)*tan(1/2*c) + tan(1/2*d*x) - tan(1/2*c) +
1)/(tan(1/2*d*x)*tan(1/2*c) - tan(1/2*d*x) + tan(1/2*c) + 1))*tan(1/2*d*x)^2 + 630*b^3*arctan((tan(1/2*d*x)*ta
n(1/2*c) + tan(1/2*d*x) - tan(1/2*c) + 1)/(tan(1/2*d*x)*tan(1/2*c) - tan(1/2*d*x) + tan(1/2*c) + 1))*tan(1/2*d
*x)^2 - 432*a^2*b*arctan((tan(1/2*d*x)*tan(1/2*c) - tan(1/2*d*x) + tan(1/2*c) + 1)/(tan(1/2*d*x)*tan(1/2*c) +
tan(1/2*d*x) - tan(1/2*c) + 1))*tan(1/2*d*x)^2 + 630*b^3*arctan((tan(1/2*d*x)*tan(1/2*c) - tan(1/2*d*x) + tan(
1/2*c) + 1)/(tan(1/2*d*x)*tan(1/2*c) + tan(1/2*d*x) - tan(1/2*c) + 1))*tan(1/2*d*x)^2 + 432*a^2*b*arctan((tan(
1/2*d*x)*tan(1/2*c) + tan(1/2*d*x) + tan(1/2*c) - 1)/(tan(1/2*d*x)*tan(1/2*c) - tan(1/2*d*x) - tan(1/2*c) - 1)
)*tan(1/2*d*x)^2 - 630*b^3*arctan((tan(1/2*d*x)*tan(1/2*c) + tan(1/2*d*x) + tan(1/2*c) - 1)/(tan(1/2*d*x)*tan(
1/2*c) - tan(1/2*d*x) - tan(1/2*c) - 1))*tan(1/2*d*x)^2 + 432*a^2*b*arctan((tan(1/2*d*x)*tan(1/2*c) - tan(1/2*
d*x) - tan(1/2*c) - 1)/(tan(1/2*d*x)*tan(1/2*c) + tan(1/2*d*x) + tan(1/2*c) - 1))*tan(1/2*d*x)^2 - 630*b^3*arc
tan((tan(1/2*d*x)*tan(1/2*c) - tan(1/2*d*x) - tan(1/2*c) - 1)/(tan(1/2*d*x)*tan(1/2*c) + tan(1/2*d*x) + tan(1/
2*c) - 1))*tan(1/2*d*x)^2 + 1024*a^3*tan(1/2*d*x)^3 + 6144*a*b^2*tan(1/2*d*x)^3 - 4608*a^3*tan(1/2*d*x)^2*tan(
1/2*c) + 18432*a*b^2*tan(1/2*d*x)^2*tan(1/2*c) + 432*pi*a^2*b*tan(1/2*c)^2 - 630*pi*b^3*tan(1/2*c)^2 - 432*a^2
*b*arctan((tan(1/2*d*x)*tan(1/2*c) + tan(1/2*d*x) - tan(1/2*c) + 1)/(tan(1/2*d*x)*tan(1/2*c) - tan(1/2*d*x) +
tan(1/2*c) + 1))*tan(1/2*c)^2 + 630*b^3*arctan((tan(1/2*d*x)*tan(1/2*c) + tan(1/2*d*x) - tan(1/2*c) + 1)/(tan(
1/2*d*x)*tan(1/2*c) - tan(1/2*d*x) + tan(1/2*c) + 1))*tan(1/2*c)^2 - 432*a^2*b*arctan((tan(1/2*d*x)*tan(1/2*c)
- tan(1/2*d*x) + tan(1/2*c) + 1)/(tan(1/2*d*x)*tan(1/2*c) + tan(1/2*d*x) - tan(1/2*c) + 1))*tan(1/2*c)^2 + 63
0*b^3*arctan((tan(1/2*d*x)*tan(1/2*c) - tan(1/2*d*x) + tan(1/2*c) + 1)/(tan(1/2*d*x)*tan(1/2*c) + tan(1/2*d*x)
- tan(1/2*c) + 1))*tan(1/2*c)^2 + 432*a^2*b*arctan((tan(1/2*d*x)*tan(1/2*c) + tan(1/2*d*x) + tan(1/2*c) - 1)/
(tan(1/2*d*x)*tan(1/2*c) - tan(1/2*d*x) - tan(1/2*c) - 1))*tan(1/2*c)^2 - 630*b^3*arctan((tan(1/2*d*x)*tan(1/2
*c) + tan(1/2*d*x) + tan(1/2*c) - 1)/(tan(1/2*d*x)*tan(1/2*c) - tan(1/2*d*x) - tan(1/2*c) - 1))*tan(1/2*c)^2 +
432*a^2*b*arctan((tan(1/2*d*x)*tan(1/2*c) - tan(1/2*d*x) - tan(1/2*c) - 1)/(tan(1/2*d*x)*tan(1/2*c) + tan(1/2
*d*x) + tan(1/2*c) - 1))*tan(1/2*c)^2 - 630*b^3*arctan((tan(1/2*d*x)*tan(1/2*c) - tan(1/2*d*x) - tan(1/2*c) -
1)/(tan(1/2*d*x)*tan(1/2*c) + tan(1/2*d*x) + tan(1/2*c) - 1))*tan(1/2*c)^2 - 4608*a^3*tan(1/2*d*x)*tan(1/2*c)^
2 + 18432*a*b^2*tan(1/2*d*x)*tan(1/2*c)^2 + 1024*a^3*tan(1/2*c)^3 + 6144*a*b^2*tan(1/2*c)^3 - 72*pi*a^2*b*sgn(
tan(1/2*d*x)^2*tan(1/2*c)^2 + 2*tan(1/2*d*x)*tan(1/2*c)^2 - tan(1/2*d*x)^2 + tan(1/2*c)^2 + 2*tan(1/2*d*x) - 1
) + 105*pi*b^3*sgn(tan(1/2*d*x)^2*tan(1/2*c)^2 + 2*tan(1/2*d*x)*tan(1/2*c)^2 - tan(1/2*d*x)^2 + tan(1/2*c)^2 +
2*tan(1/2*d*x) - 1) + 72*pi*a^2*b*sgn(tan(1/2*d*x)^2*tan(1/2*c)^2 - 2*tan(1/2*d*x)*tan(1/2*c)^2 - tan(1/2*d*x
)^2 + tan(1/2*c)^2 - 2*tan(1/2*d*x) - 1) - 105*pi*b^3*sgn(tan(1/2*d*x)^2*tan(1/2*c)^2 - 2*tan(1/2*d*x)*tan(1/2
*c)^2 - tan(1/2*d*x)^2 + tan(1/2*c)^2 - 2*tan(1/2*d*x) - 1) - 144*pi*a^2*b*sgn(tan(1/2*d*x)^2*tan(1/2*c)^2 - t
an(1/2*d*x)^2 - 4*tan(1/2*d*x)*tan(1/2*c) - tan(1/2*c)^2 + 1) + 210*pi*b^3*sgn(tan(1/2*d*x)^2*tan(1/2*c)^2 - t
an(1/2*d*x)^2 - 4*tan(1/2*d*x)*tan(1/2*c) - tan(1/2*c)^2 + 1) + 2304*a^2*b*tan(1/2*d*x)^2 - 1536*b^3*tan(1/2*d
*x)^2 + 9216*a^2*b*tan(1/2*d*x)*tan(1/2*c) + 2304*a^2*b*tan(1/2*c)^2 - 1536*b^3*tan(1/2*c)^2 + 144*pi*a^2*b -
210*pi*b^3 - 144*a^2*b*arctan((tan(1/2*d*x)*tan(1/2*c) + tan(1/2*d*x) - tan(1/2*c) + 1)/(tan(1/2*d*x)*tan(1/2*
c) - tan(1/2*d*x) + tan(1/2*c) + 1)) + 210*b^3*arctan((tan(1/2*d*x)*tan(1/2*c) + tan(1/2*d*x) - tan(1/2*c) + 1
)/(tan(1/2*d*x)*tan(1/2*c) - tan(1/2*d*x) + tan(1/2*c) + 1)) - 144*a^2*b*arctan((tan(1/2*d*x)*tan(1/2*c) - tan
(1/2*d*x) + tan(1/2*c) + 1)/(tan(1/2*d*x)*tan(1/2*c) + tan(1/2*d*x) - tan(1/2*c) + 1)) + 210*b^3*arctan((tan(1
/2*d*x)*tan(1/2*c) - tan(1/2*d*x) + tan(1/2*c) + 1)/(tan(1/2*d*x)*tan(1/2*c) + tan(1/2*d*x) - tan(1/2*c) + 1))
+ 144*a^2*b*arctan((tan(1/2*d*x)*tan(1/2*c) + tan(1/2*d*x) + tan(1/2*c) - 1)/(tan(1/2*d*x)*tan(1/2*c) - tan(1
/2*d*x) - tan(1/2*c) - 1)) - 210*b^3*arctan((tan(1/2*d*x)*tan(1/2*c) + tan(1/2*d*x) + tan(1/2*c) - 1)/(tan(1/2
*d*x)*tan(1/2*c) - tan(1/2*d*x) - tan(1/2*c) - 1)) + 144*a^2*b*arctan((tan(1/2*d*x)*tan(1/2*c) - tan(1/2*d*x)
- tan(1/2*c) - 1)/(tan(1/2*d*x)*tan(1/2*c) + tan(1/2*d*x) + tan(1/2*c) - 1)) - 210*b^3*arctan((tan(1/2*d*x)*ta
n(1/2*c) - tan(1/2*d*x) - tan(1/2*c) - 1)/(tan(1/2*d*x)*tan(1/2*c) + tan(1/2*d*x) + tan(1/2*c) - 1)) + 1536*a^
3*tan(1/2*d*x) + 1536*a^3*tan(1/2*c) - 768*a^2*b - 512*b^3)/(d*tan(1/2*d*x)^6*tan(1/2*c)^6 + 3*d*tan(1/2*d*x)^
6*tan(1/2*c)^4 + 3*d*tan(1/2*d*x)^4*tan(1/2*c)^6 + 3*d*tan(1/2*d*x)^6*tan(1/2*c)^2 + 9*d*tan(1/2*d*x)^4*tan(1/
2*c)^4 + 3*d*tan(1/2*d*x)^2*tan(1/2*c)^6 + d*tan(1/2*d*x)^6 + 9*d*tan(1/2*d*x)^4*tan(1/2*c)^2 + 9*d*tan(1/2*d*
x)^2*tan(1/2*c)^4 + d*tan(1/2*c)^6 + 3*d*tan(1/2*d*x)^4 + 9*d*tan(1/2*d*x)^2*tan(1/2*c)^2 + 3*d*tan(1/2*c)^4 +
3*d*tan(1/2*d*x)^2 + 3*d*tan(1/2*c)^2 + d)
Mupad [B] (verification not implemented)
Time = 4.22 (sec) , antiderivative size = 104, normalized size of antiderivative = 1.49
\[
\int \cos ^3(c+d x) (a+b \tan (c+d x))^3 \, dx=\frac {\frac {\sin \left (c+d\,x\right )\,a^3\,{\cos \left (c+d\,x\right )}^2}{3}+\frac {2\,\sin \left (c+d\,x\right )\,a^3}{3}-a^2\,b\,{\cos \left (c+d\,x\right )}^3-\sin \left (c+d\,x\right )\,a\,b^2\,{\cos \left (c+d\,x\right )}^2+\sin \left (c+d\,x\right )\,a\,b^2+\frac {b^3\,{\cos \left (c+d\,x\right )}^3}{3}-b^3\,\cos \left (c+d\,x\right )}{d}
\]
[In]
int(cos(c + d*x)^3*(a + b*tan(c + d*x))^3,x)
[Out]
((2*a^3*sin(c + d*x))/3 - b^3*cos(c + d*x) + (b^3*cos(c + d*x)^3)/3 - a^2*b*cos(c + d*x)^3 + (a^3*cos(c + d*x)
^2*sin(c + d*x))/3 + a*b^2*sin(c + d*x) - a*b^2*cos(c + d*x)^2*sin(c + d*x))/d